[plt-scheme] semaphore-value

From: Jos Koot (jos.koot at telefonica.net)
Date: Wed Jul 25 10:37:27 EDT 2007

A question: Is there a reason for not providing a procedure like (semaphore-count sema) --> current value of the semaphore counter? It seems rather easy to implement, but I rather like not to poke in MzScheme's C code (sema.c). Of course the returned value may be outdated by the time it is returned, but that's no problem.
Greetings, Jos Koot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070725/9aab0466/attachment.html>

Posted on the users mailing list.