Commit c3dc08f
Bug fix in testing of return code of sem_timedwait
Code was not properly handling a return code of 0 from sem_timedwait
(it would interpret it as a timeout). Change logic of test to match
that used after the other call to sem_timedwait in this file.
Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>1 parent a8f140c commit c3dc08f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
0 commit comments