shithub: riscv

ref: 7742661aebb96a26f1cb34a68bcf631065913806
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);
}