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: [PATCH] PowerPC - Add a faster way to get the thread id


> So I agree that it should not have be a PPC specific API and it is not a
> POSIX API, but GLIBC provides other non-POSIX API and I don't understnad
> why it would be hard to convince the community to add such simple and
> obviously useful API.

The core issue is that it is a Linux-centric API that intrinsically depends
on implementation details that are below the level of the pthreads API.
It's a pure Linuxism that there is an integer that is unique system-wide
that corresponds to an individual thread in an individual process.  This is
the GNU C Library, not the Linux C Library, and we try to be quite
circumspect about introducing Linuxisms to the GNU system API.


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