summaryrefslogtreecommitdiff
path: root/sys/src/lib9p/threadpostsrv.c
blob: b627a8653046865abe1ba908abe6842771ca2bcb (plain)
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>

int
threadpostsrv(Srv *s, char *name)
{
	if(s->forker == nil)
		s->forker = threadsrvforker;
	return postsrv(s, name);
}