Commit 0ae37b4
authored
Remove racy check from sharedlock unittest (#427)
This was falling in the symgc project, very occasionally.
What was happening:
1. unittest main thread unlocks the lock
2. exclusive locker thread is woken up to check its condition again, and
takes the lock
3. Race! sometimes this lock is held, sometimes it isn't.1 parent 898aa81 commit 0ae37b4
File tree
1 file changed
+0
-1
lines changed- sdlib/d/sync
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
518 | 517 | | |
519 | 518 | | |
520 | 519 | | |
| |||
0 commit comments