Messages in this thread | | | Date | Wed, 14 Apr 2010 13:57:04 +0100 | From | Alan Cox <> | Subject | Re: atomic RAM ? |
| |
> > FUTEX ... is an implementation ... for certain classes of processor. > Alan, > > If that is true "in depth", there should be no FUTEX-relevant code, > neither in the Kernel, nor in the library, that should be considered > "arch-independent".
We have a lot of kernel code which is only usable on some architectures and a few opt out of. The largest example of course being the mm layer which is strictly for MMU equipped systems.
The important point is that you don't *have* to use futex to provide the posix pthread lock primitives if they don't fit your platform.
| |