plan9fox/sys
cinap_lenrek a034e629f7 lib9p: do not override Srv.end in listensrv(), simplify srvclose() and recounting
listensrv() used to override Srv.end() with its own handler
to free the malloc'd Srv structure and close the fd. this
makes it impossible to register your own cleanup handler.
instead, we introduce the private Srv.free() handler that
is used by listensrv to register its cleanup code. Srv.free()
is called once all the srv procs have been exited and all
requests on that srv have been responded to while Srv.end()
is called once all the procs exited the srv loop regardless
of the requests still being in flight.
2015-10-15 13:21:30 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: Please be respectful in this forum. 2015-09-26 19:10:40 -04:00
include lib9p: do not override Srv.end in listensrv(), simplify srvclose() and recounting 2015-10-15 13:21:30 +02:00
lib /sys/lib/dist/ndb/common: correct authdom=inri 2015-09-16 13:29:04 -04:00
man aux/listen1: allow alternative namespace when running as user none with -n option 2015-10-10 00:09:02 +02:00
src lib9p: do not override Srv.end in listensrv(), simplify srvclose() and recounting 2015-10-15 13:21:30 +02:00