WNProject / WNFramework

A set of cross platform libraries and tools related to game development
BSD 2-Clause "Simplified" License
3 stars 2 forks source link

Add generic semaphore implementation #115

Open devpow112 opened 6 years ago

devpow112 commented 6 years ago

This will be slow but work:

https://stackoverflow.com/a/27852868 https://gist.github.com/sguzman/9594227

devpow112 commented 6 years ago

Look at improving semaphores as well:

https://github.com/preshing/cpp11-on-multicore/blob/master/common/sema.h

devpow112 commented 6 years ago

http://preshing.com/20150316/semaphores-are-surprisingly-versatile/