Re: Proposal for a userspace "architecture portability" library
From: Roland McGrath
Date: Sat Dec 04 2004 - 22:53:13 EST
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/