When you start working with thread or process you will probably need a way to coordinate them. One of this way is the use of semaphore, which allow you to coordinate several thread and regulate the access of shared memory. Using C++, the are several libraries that provide semaphores. One of these, that is Posix […]