1 2 3 4 5 6 7 8 9 10 11 12 13
#include <u.h> #include <libc.h> #include <fcall.h> #include <thread.h> #include <9p.h> void threadpostmountsrv(Srv *s, char *name, char *mtpt, int flag) { if(s->forker == nil) s->forker = threadsrvforker; postmountsrv(s, name, mtpt, flag); }