summaryrefslogtreecommitdiff
path: root/sys/src/lib9p/threadlistensrv.c
blob: 65be4e51e16b01fe33e0ce1a8555974f19800c5d (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
threadlistensrv(Srv *s, char *addr)
{
	if(s->forker == nil)
		s->forker = threadsrvforker;
	listensrv(s, addr);
}