Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
lib
libc
musl
src
thread
thrd_exit.c
pretty
plain
permalink
blame
history
•
8 lines
•
146 B
1
#include <threads.h>
2
#include <pthread.h>
3
#include <stdint.h>
4
5
_Noreturn void thrd_exit(int result)
6
{
7
	__pthread_exit((void*)(intptr_t)result);
8
}