std.Thread.Condition: optimize example

- Hold the lock for a shorter amount of time
- Previously, when holding the lock while signaling, the other, resumed
  thread could potentially get suspended again immediately because
  the mutex was still locked.
- Fix comment
1617138c72Erik Arvstedt committed on 4/19/2023, 1:38:52 AM· committed by Andrew Kelleyparent5bc35fa
1 file changedLine totals unavailable