This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Specific Linux syscalls for glibc API


On 11/18/2015 06:58 PM, Adhemerval Zanella wrote:

> Do we really have a compelling reason for gettid?

It makes sense to use them in conjunction with process-shared futexes to
indicate ownership.  The return value of pthread_self isn't meaningful
to other processes.  Having to words (PID and address) complicates matters.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]