It's an early beta/demo of a library I am working on to allow communication and synchronisation between threads. Semaphores works, more planned. Anyone willing to help is appreciated.
Get it from my site: http://www.david-mcminn.co.uk
Or the resources site (soon): http://www.reelmediaproductions.com/pb
Library: ThreadSync
- tinman
- PureBasic Expert
- Posts: 1102
- Joined: Sat Apr 26, 2003 4:56 pm
- Location: Level 5 of Robot Hell
- Contact:
Library: ThreadSync
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
(WinXPhSP3 PB5.20b14)
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
yes please!
Okay, so you got me drooling:)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
-
- Enthusiast
- Posts: 218
- Joined: Sat Apr 26, 2003 4:47 am
- Location: Dullsville..population: me
- Contact:
Why use PB`s OpenWindow command when you`ve got the API function CreateWindowEx_, why use the built in networking code when you have access to the Winsock commands etc etc...mp303 wrote:I'm not sure I get it ... it's a windows-specific library? ... well, what's the point? I mean, you've already got access to the API functions, so..?
Simple answer... Cos PB is a Basic language, and user libs such as Tinman`s ThreadLib make life a lot easier by wrapping a load of API stuff into a simple keyword..
Rant over, nice work David.
- tinman
- PureBasic Expert
- Posts: 1102
- Joined: Sat Apr 26, 2003 4:56 pm
- Location: Level 5 of Robot Hell
- Contact:
I would but I don't have:mp303 wrote:Unless of course you plan to port it to Linux? that would rock :)
a) Linux running on my machine yet
b) Development experience in Linux
Obviously I would like to be able to do a Linux version, but it will either take some time or will need to be done by someone else. But I agree for the most part that single OS user libs are a bit pointless.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
(WinXPhSP3 PB5.20b14)
Not for users that use that single OS 
Excellent work tin!

Excellent work tin!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net