Files
musl/src
Rich Felker 07e62953c7 retry on cas failures in sem_trywait
this seems counter-intuitive since sem_trywait is supposed to just try
once, not wait for the semaphore. however, the retry loop is not a
wait. instead, it's to handle the case where the value changes due to
a simultaneous post or wait from another thread while the semaphore
value remains positive. in such a case, it's absolutely wrong for
sem_trywait to fail with EAGAIN because the semaphore is not busy.
2012-07-24 00:51:36 -04:00
..
2012-06-20 15:22:03 -04:00
2012-04-16 18:37:53 -04:00
2011-04-17 11:43:03 -04:00
2012-07-23 16:54:53 -04:00
2012-02-06 18:23:11 -05:00
2012-05-25 10:45:05 -04:00
2011-04-17 11:43:03 -04:00
2012-07-12 22:20:36 -04:00
2012-05-31 23:32:09 -04:00