We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 805e6b6 commit d58ad35Copy full SHA for d58ad35
Include/object.h
@@ -296,7 +296,7 @@ _Py_ThreadId(void)
296
#elif defined(HAVE_THREAD_ID_FALLBACK)
297
// Hack: Using characteristics of TLS address mapping.
298
// The address of the thread-local variable is not equal with the actual thread pointer,
299
- // However, it has the property of being fixed at runtime, with no duplication of values
+ // However, it has the property of being fixed at Exec time, with no duplication of values
300
// between different threads. But since it requires offset calculation, this hack is more
301
// expensive than __builtin_thread_pointer().
302
tid = (uintptr_t)&__tp;
0 commit comments