Previous
-
Next
Thread::Semaphore
For debugging, I wrote output to the screen
But I didn't want output from several threads to be mixed up
I needed some way of assuring only one thread could write at once
Previous
-
Next