shithub: riscv

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