blob: 9b291ae3db2de16b19c90f504c8e9e7102e10adb [file] [log] [blame]
#include <threads.h>
#include <pthread.h>
#include <stdint.h>
_Noreturn void thrd_exit(int result)
{
__pthread_exit((void*)(intptr_t)result);
}