Messages in this thread | | | Date | Sat, 4 Dec 2004 19:51:43 -0800 | From | Roland McGrath <> | 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |