shithub: riscv

ref: 5a51e900dd113a1a5f2d2a0e8bac067fbc7da3ae
dir: /sys/src/lib9p/thread.c/

View raw version
#include <u.h>
#include <libc.h>
#include <fcall.h>
#include <thread.h>
#include <9p.h>

void
threadsrvforker(void (*fn)(void*), void *arg, int rflag)
{
	procrfork(fn, arg, 32*1024, rflag);
}