Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Thu May 16 03:07:13 CEST 2024

Total time taken to generate the page: 0.02393 seconds