U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » WaitForMultipleObjects() analog?
Re: WaitForMultipleObjects() analog? [message #16106 is a reply to message #15460] Wed, 28 May 2008 10:16 Go to previous messageGo to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
Mindtraveller,

What are you trying to achieve with multiple Semaphores? I would expect that an alternative implementation could use Monitors. These are fancy mutexes which also have Wait and Pulse methods.
I am working on a U++ example code which uses Monitors to implement a Producer-Consumer queue.

See the concept explained in http://www.albahari.com/threading/part4.html

Hojtsy
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Interprocess communication with U++
Next Topic: sMutexLock implementation
Goto Forum:
  


Current Time: Sun Apr 26 00:18:02 GMT+2 2026

Total time taken to generate the page: 0.00521 seconds