9 lines
146 B
C
9 lines
146 B
C
|
#include <threads.h>
|
||
|
#include <pthread.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
_Noreturn void thrd_exit(int result)
|
||
|
{
|
||
|
__pthread_exit((void*)(intptr_t)result);
|
||
|
}
|