Closed Qwinci closed 1 month ago
Should be good now.
Does that also include a regression test for the bug on sem_trywait()
?
Does that also include a regression test for the bug on
sem_trywait()
?
Yes, the one that does 4 sem_trywaits in a row on a semaphore that only has 3 count. That would be where the fourth sem_trywait would incorrectly return 0 and the counter would wrap around.
Probably not that hard, Ill write some tests for the semaphores.