]> git.lizzy.rs Git - plan9front.git/blob - sys/src/lib9p/threadlistensrv.c
libaml: fix gc bug, need to amltake()/amldrop() temporary buffer
[plan9front.git] / sys / src / lib9p / threadlistensrv.c
1 #include <u.h>
2 #include <libc.h>
3 #include <fcall.h>
4 #include <thread.h>
5 #include <9p.h>
6
7 void
8 threadlistensrv(Srv *s, char *addr)
9 {
10         if(s->forker == nil)
11                 s->forker = threadsrvforker;
12         listensrv(s, addr);
13 }