[plt-scheme] semaphore-value

From: Noel Welsh (noelwelsh at gmail.com)
Date: Thu Jul 26 08:30:29 EDT 2007

On 7/26/07, Jos Koot <jos.koot at telefonica.net> wrote:
> You mean for increments and decements of the duplicate counter?
> Yes, that sounds like a good idea. Thanks.
> Or do you mean something else?

Both! :-)  I think a channel would simplify your problem with
implementing a counting semaphore.  However, I hate semaphores and
would never use them when channels are available.

N.


Posted on the users mailing list.