summaryrefslogtreecommitdiff
path: root/src/thread/thrd_exit.c
blob: b66bd99695ca63da6a7f2cc9dbc3f42e88d2e255 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "pthread_impl.h"
#include <threads.h>

_Noreturn void __pthread_exit(void *);

_Noreturn void thrd_exit(int result)
{
	__pthread_exit((void*)(intptr_t)result);
}