On Tue, Jun 10, 2008 at 4:19 PM, Helge Deller <deller@gmx.de> wrote:
> Yes.
>
> #define UNLOCKED {-1,-1,-1,-1}
Perfect. That will work just fine. The only reason I couldn't use this
for NPTL, was that all the algorithms were written expecting "compare
and swap" semantics, and rewriting core threading code was not my idea
of a fun time.
Cheers,
Carlos.