Commit d93e94d8 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: add Server.Wait

parent 66046ebb
...@@ -381,6 +381,11 @@ func (ms *Server) Serve() { ...@@ -381,6 +381,11 @@ func (ms *Server) Serve() {
} }
} }
// Wait waits for the serve loop to exit
func (ms *Server) Wait() {
ms.loops.Wait()
}
func (ms *Server) handleInit() Status { func (ms *Server) handleInit() Status {
// The first request should be INIT; read it synchronously, // The first request should be INIT; read it synchronously,
// and don't spawn new readers. // and don't spawn new readers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment