Open devpow112 opened 6 years ago
This will be slow but work:
https://stackoverflow.com/a/27852868 https://gist.github.com/sguzman/9594227
Look at improving semaphores as well:
https://github.com/preshing/cpp11-on-multicore/blob/master/common/sema.h
http://preshing.com/20150316/semaphores-are-surprisingly-versatile/
This will be slow but work:
https://stackoverflow.com/a/27852868 https://gist.github.com/sguzman/9594227