2021-05-01 16:37:00 +02:00
|
|
|
#include <u.h>
|
|
|
|
#include <libc.h>
|
|
|
|
#include <fcall.h>
|
|
|
|
#include <thread.h>
|
|
|
|
#include <9p.h>
|
|
|
|
|
2021-05-01 19:58:58 +02:00
|
|
|
int
|
2021-05-01 16:37:00 +02:00
|
|
|
threadpostsrv(Srv *s, char *name)
|
|
|
|
{
|
|
|
|
if(s->forker == nil)
|
|
|
|
s->forker = threadsrvforker;
|
2021-05-01 19:58:58 +02:00
|
|
|
return postsrv(s, name);
|
2021-05-01 16:37:00 +02:00
|
|
|
}
|