Closed alekibango closed 6 years ago
Without joining those tasks the program runs much faster than expected by novice users.
This change makes the example work as expected.
I also added more verbose text output, showing state of the semaphore.
Good catch! Yes, it should definitely wait for them to finish.
Without joining those tasks the program runs much faster than expected by novice users.
This change makes the example work as expected.
I also added more verbose text output, showing state of the semaphore.