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

Home » U++ Library support » U++ MT-multithreading and servers » Conditional Variables
Conditional Variables [message #13807] Mon, 28 January 2008 18:42 Go to next message
gonzofish is currently offline  gonzofish
Messages: 9
Registered: January 2008
Location: USA
Promising Member
Does U++ have the ability to utilize conditional variables--that is a variable that will notify other threads waiting on a specific resource?
Re: Conditional Variables [message #13926 is a reply to message #13807] Fri, 01 February 2008 22:00 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
gonzofish wrote on Mon, 28 January 2008 12:42

Does U++ have the ability to utilize conditional variables--that is a variable that will notify other threads waiting on a specific resource?


No, because it is problematic to find a common ground between Win32 and Linux.

Therefore we decided to have Semaphore, which behaves the same on both platforms and while not exactly the same kind of object, it is similar enough.

In any case, you can use it to notify other waiting threads Wink

Mirek

[Updated on: Fri, 01 February 2008 22:00]

Report message to a moderator

Re: Conditional Variables [message #14017 is a reply to message #13807] Wed, 06 February 2008 19:46 Go to previous message
gonzofish is currently offline  gonzofish
Messages: 9
Registered: January 2008
Location: USA
Promising Member
Thanks Mirek.
Previous Topic: How to obtain IP/port information out of a socket
Next Topic: Socket IsError() method use
Goto Forum:
  


Current Time: Tue Apr 28 22:06:25 GMT+2 2026

Total time taken to generate the page: 0.00534 seconds