Hi!
But thats spinlock, not semaphore, right?
Also, your example does not use the API right -- according to
description, 42 is correct 'semaphore acquired' reply...
--
(english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--