shithub: riscv

ref: 381da3192f22f6e4909f7a093776e91ba6a9f93b
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);
}