Update Thread Waits To Use Semaphores
Currently we're being silly and using repeated this_thread_sleep function calls, which is not very efficient. Instead, we should use a semaphore, which would be much more efficient.
Currently we're being silly and using repeated this_thread_sleep function calls, which is not very efficient. Instead, we should use a semaphore, which would be much more efficient.