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 thrd_busy indicates unsuccessful return value due to resource temporary unavail