[Implemented] Cross-platform semaphore support for threads

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Mistrel
Addict
Addict
Posts: 3379
Joined: Sat Jun 30, 2007 8:04 pm

[Implemented] Cross-platform semaphore support for threads

Post by Mistrel »

The thread library supports mutexes. It would be really helpful if it had a cross-platform solution for semaphores as well.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Now I'm very curious! Maybe you can answer what I can do with a semaphore that I can't do with a mutex?
Mistrel
Addict
Addict
Posts: 3379
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

I posted a comment for you in your other thread. :)
Poshu
Enthusiast
Enthusiast
Posts: 460
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Post by Poshu »

Up.

I would gladly see a semaphore system in a (not too distant) futur PB release.
freak
PureBasic Team
PureBasic Team
Posts: 5824
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

It is already done for the upcomming 4.30 version.
quidquid Latine dictum sit altum videtur
Mistrel
Addict
Addict
Posts: 3379
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Thank you, freak! :)

Are there any plans to make PB mutex/semaphores system-wide as well?
Poshu
Enthusiast
Enthusiast
Posts: 460
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Post by Poshu »

Wow. Thx :3
Post Reply