source:
azure_iot_hub/trunk/musl-1.1.18/src/thread/cnd_wait.c
Last change on this file was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 240 bytes |
Line | |
---|---|
1 | #include <threads.h> |
2 | |
3 | int cnd_wait(cnd_t *c, mtx_t *m) |
4 | { |
5 | /* Calling cnd_timedwait with a null pointer is an extension. |
6 | * It is convenient here to avoid duplication of the logic |
7 | * for return values. */ |
8 | return cnd_timedwait(c, m, 0); |
9 | } |
Note:
See TracBrowser
for help on using the repository browser.