File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -295,10 +295,10 @@ _Py_ThreadId(void)
295
295
tid = (uintptr_t )__builtin_thread_pointer ();
296
296
#elif defined(HAVE_THREAD_ID_FALLBACK )
297
297
// Hack: Using characteristics of TLS address mapping.
298
- // The address of the thread-local variable is not equal as the actual thread pointer,
298
+ // The address of the thread-local variable is not equal with the actual thread pointer,
299
299
// However, it has the property of being fixed at runtime, with no duplication of values
300
- // between different threads. Since it requires offset calculation, it is more expensive
301
- // than __builtin_thread_pointer().
300
+ // between different threads. But since it requires offset calculation, this hack is more
301
+ // expensive than __builtin_thread_pointer().
302
302
tid = (uintptr_t )& __tp ;
303
303
#else
304
304
# error "define _Py_ThreadId for this platform"
You can’t perform that action at this time.
0 commit comments