summaryrefslogtreecommitdiff
path: root/sys/src/lib9p/threadsrv.c
blob: f892f519573cb916c2254347573074cd6b964925 (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>

void
threadsrv(Srv *s)
{
	if(s->forker == nil)
		s->forker = threadsrvforker;
	srv(s);
}