1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef KIT_THREAD_DEFS_H #define KIT_THREAD_DEFS_H #ifdef __cplusplus extern "C" { #endif enum { thrd_success = 0, thrd_timedout, thrd_error, thrd_busy, thrd_nomem, thrd_wrong_stack_size }; #ifdef __cplusplus } #endif #endif