thrd_busy

thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error

Defined in header <threads.h>
enum {
    thrd_success = /* unspecified */,
    thrd_nomem = /* unspecified */,
    thrd_timedout = /* unspecified */,
    thrd_busy = /* unspecified */,
    thrd_error = /* unspecified */
};
(since C11)

Identifiers a thread error state.

登录查看完整内容
Constant Explanation
thrd_success indicates successful return value
thrd_timedout indicates timed out return value