Closed sunfishcode closed 1 year ago
Call set_tid_address to initialize the main thread's clear child tid address field.
set_tid_address
And, avoid calling gettid() when the tid can be determined in other ways.
gettid()
Call
set_tid_address
to initialize the main thread's clear child tid address field.And, avoid calling
gettid()
when the tid can be determined in other ways.