Re: pthreads imported to the Sourceforge CVS
On Fri, Jun 15, 2001 at 05:28:02PM -0400, Roland McGrath wrote:
> The only kind of pthreads implementation that I am interested in long-term
> is one that is intended to integrate tightly with glibc as linuxthreads
> does, and is written portably in the libc style so as to have a
> partially-shared source base, and a wholly shared user API/ABI, eventually
> for implementations on various underlying kernels including Linux.
I have a couple of questions then. The code relies heavily on the
use of __spin_lock operations, however they are mach specific.
Is there a standard internal iterface to locks in glibc?
Otherwise most of the code already has to be moved into under sysdeps/mach.
Also what is the difference between sysdeps/generic/ and pthread/
subdirs. They both contain system independent code.