13 lines · 178 B · C
RawDownload
#include <u.h>#include <libc.h>#include <fcall.h>#include <thread.h>#include <9p.h> voidthreadsrv(Srv *s){	if(s->forker == nil)		s->forker = threadsrvforker;	srv(s);}