thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error
From Get docs
< Thread support libraryC/docs/latest/thread/thrd errors
thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error
Defined in header <threads.h>
|
||
---|---|---|
|
(since C11) |
Identifiers for thread states and errors.
Constant | Explanation |
---|---|
thrd_success
|
indicates successful return value |
thrd_timedout
|
indicates timed out return value |
thrd_busy
|
indicates unsuccessful return value due to resource temporary unavailable |
thrd_nomem
|
indicates unsuccessful return value due to out of memory condition |
thrd_error
|
indicates unsuccessful return value |
References
C11 standard (ISO/IEC 9899:2011):
- 7.26.1/5 thrd_success, thrd_timedout, ... (p: 377)
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/thread/thrd_errors