Skip to content

Commit

Permalink
fixes #1729 remove nni_timer
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 17, 2023
1 parent dc49988 commit ca63231
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 218 deletions.
2 changes: 0 additions & 2 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ nng_sources(
tcp.h
thread.c
thread.h
timer.c
timer.h
url.c
url.h
)
Expand Down
4 changes: 1 addition & 3 deletions src/core/init.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2021 Staysail Systems, Inc. <[email protected]>
// Copyright 2023 Staysail Systems, Inc. <[email protected]>
// Copyright 2018 Capitar IT Group BV <[email protected]>
//
// This software is supplied under the terms of the MIT License, a
Expand Down Expand Up @@ -34,7 +34,6 @@ nni_init_helper(void)

if (((rv = nni_taskq_sys_init()) != 0) ||
((rv = nni_reap_sys_init()) != 0) ||
((rv = nni_timer_sys_init()) != 0) ||
((rv = nni_aio_sys_init()) != 0) ||
((rv = nni_tls_sys_init()) != 0)) {
nni_fini();
Expand Down Expand Up @@ -65,7 +64,6 @@ nni_fini(void)
nni_tls_sys_fini();
nni_reap_drain();
nni_aio_sys_fini();
nni_timer_sys_fini();
nni_taskq_sys_fini();
nni_reap_sys_fini(); // must be before timer and aio (expire)
nni_id_map_sys_fini();
Expand Down
3 changes: 1 addition & 2 deletions src/core/nng_impl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2021 Garrett D'Amore <[email protected]>
// Copyright 2023 Staysail Systems, Inc. <[email protected]>
// Copyright 2017 Capitar IT Group BV <[email protected]>
//
// This software is supplied under the terms of the MIT License, a
Expand Down Expand Up @@ -45,7 +45,6 @@
#include "core/strs.h"
#include "core/taskq.h"
#include "core/thread.h"
#include "core/timer.h"
#include "core/url.h"

// transport needs to come after url
Expand Down
177 changes: 0 additions & 177 deletions src/core/timer.c

This file was deleted.

34 changes: 0 additions & 34 deletions src/core/timer.h

This file was deleted.

0 comments on commit ca63231

Please sign in to comment.