aboutsummaryrefslogtreecommitdiff
path: root/src/nng_compat.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-06-22 13:25:15 -0700
committerGarrett D'Amore <garrett@damore.org>2017-06-22 13:25:15 -0700
commitc9fffa535275ca8b3d4afedf72cb503f909418e8 (patch)
treef1016e8c855c665bd78599cfc38f409455d6d002 /src/nng_compat.c
parentc45eb380c6a84080fe457eabb1235166020a7a4f (diff)
downloadnng-c9fffa535275ca8b3d4afedf72cb503f909418e8.tar.gz
nng-c9fffa535275ca8b3d4afedf72cb503f909418e8.tar.bz2
nng-c9fffa535275ca8b3d4afedf72cb503f909418e8.zip
Note that we have work to do to properly clean up. TBD.
Diffstat (limited to 'src/nng_compat.c')
-rw-r--r--src/nng_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nng_compat.c b/src/nng_compat.c
index ee52a074..41995dd9 100644
--- a/src/nng_compat.c
+++ b/src/nng_compat.c
@@ -741,7 +741,8 @@ nn_device(int s1, int s2)
}
-// You should not use this function if you can help it.
+// nn_term is suitable only for shutting down the entire library,
+// and is not thread-safe with other functions.
void
nn_term(void)
{