This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Proposal for a userspace "architecture portability" library
- From: Roland McGrath <roland at redhat dot com>
- To: Paul Mackerras <paulus at samba dot org>
- Cc: Robert Love <rml at novell dot com>, Linus Torvalds <torvalds at osdl dot org>,David Woodhouse <dwmw2 at infradead dot org>,David Howells <dhowells at redhat dot com>, linux-kernel at vger dot kernel dot org,libc-alpha at sources dot redhat dot com
- Date: Sat, 4 Dec 2004 19:51:43 -0800
- Subject: Re: Proposal for a userspace "architecture portability" library
> I don't think glibc exports any atomic operations.
That is true. But it does have implementations in bits/atomic.h for many
processors, and that is under the LGPL.
> As for the semaphores and spinlocks, clearly you can use the pthread_*
> functions, but hopefully the kernel versions are a bit lighter-weight.
The pthread_spin_* functions are not inlines, but are otherwise minimal.