summaryrefslogtreecommitdiff
path: root/libc/nptl/vars.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/nptl/vars.c')
-rw-r--r--libc/nptl/vars.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/nptl/vars.c b/libc/nptl/vars.c
index 8f3023cfc..43a6e3957 100644
--- a/libc/nptl/vars.c
+++ b/libc/nptl/vars.c
@@ -32,7 +32,9 @@ size_t __default_stacksize attribute_hidden
int __is_smp attribute_hidden;
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
-/* Variable set to a nonzero value if more than one thread runs or ran. */
+/* Variable set to a nonzero value either if more than one thread runs or ran,
+ or if a single-threaded process is trying to cancel itself. See
+ nptl/descr.h for more context on the single-threaded process case. */
int __pthread_multiple_threads attribute_hidden;
#endif