aboutsummaryrefslogtreecommitdiff
path: root/src/core/thread.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-12-27 21:20:46 -0800
committerGarrett D'Amore <garrett@damore.org>2020-12-27 21:20:46 -0800
commite86ac84769e8467d0503840aedce208881eae1a6 (patch)
tree926458116d4c10ba28f588d2520656319604ad0f /src/core/thread.h
parent3d535b638667ad0fcfff4246fce61c0176a056c4 (diff)
downloadnng-e86ac84769e8467d0503840aedce208881eae1a6.tar.gz
nng-e86ac84769e8467d0503840aedce208881eae1a6.tar.bz2
nng-e86ac84769e8467d0503840aedce208881eae1a6.zip
fixes #1385 nni_thr_wait is unused
Diffstat (limited to 'src/core/thread.h')
-rw-r--r--src/core/thread.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/thread.h b/src/core/thread.h
index 154b4616..316acdc2 100644
--- a/src/core/thread.h
+++ b/src/core/thread.h
@@ -76,12 +76,6 @@ extern void nni_thr_fini(nni_thr *thr);
// nni_thr_run runs the given thread, which must have been initialized.
extern void nni_thr_run(nni_thr *thr);
-// nni_thr_wait waits for the thread to complete execution, but does not
-// release resources associated with it. It is idempotent. If the this
-// is called before nni_thr_run is called, then the thread will not run
-// at all.
-extern void nni_thr_wait(nni_thr *thr);
-
// nni_thr_is_self returns true if the caller is the named thread.
extern bool nni_thr_is_self(nni_thr *thr);