D
dln
I can't seem to find a Semaphore class in the .Net framework. Does C#
provide any blocking container objects that will block a thread trying to
extract an element from an empty queue or does the .Net framework provide a
Semaphore object of some type? I've noticed a post to the urls
http://www.codeproject.com/csharp/BoundedBlockingQueue.asp and
http://www.codeproject.com/csharp/DijkstraCountingSemaphore.asp, which will
work if necessary, but I'm more interested in native framework support if
possible.
Thanks.
provide any blocking container objects that will block a thread trying to
extract an element from an empty queue or does the .Net framework provide a
Semaphore object of some type? I've noticed a post to the urls
http://www.codeproject.com/csharp/BoundedBlockingQueue.asp and
http://www.codeproject.com/csharp/DijkstraCountingSemaphore.asp, which will
work if necessary, but I'm more interested in native framework support if
possible.
Thanks.