Hi, all
I have one question about __tl_lock. The current implementation of __tl_lock shown as follow.
Obviously __thread_list_lock is a private memory, why don’t we pass FUTEX_PRIVATE option to __wait?
```
void __tl_lock(void)
{
int tid = __pthread_self()->tid;
int val = __thread_list_lock;
if (val == tid) {
tl_lock_count++;
return;
}
while ((val = a_cas(&__thread_list_lock, 0, tid)))
__wait(&__thread_list_lock, &tl_lock_waiters, val,
0);
}
```
Thank you to explain.