diff options
author | aiju <aiju@phicode.de> | 2015-10-12 10:41:40 +0200 |
---|---|---|
committer | aiju <aiju@phicode.de> | 2015-10-12 10:41:40 +0200 |
commit | 27d2955ccf58fb1c0631c497c094d793572f980f (patch) | |
tree | 5831d775bce9daaaa81e0e6cca3c01df373a7a4d /sys/man | |
parent | 9112daa7641d64bf5b662e9afb391fd267d96ad2 (diff) |
lib9p: add reqqueuefree
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/2/9pqueue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/man/2/9pqueue b/sys/man/2/9pqueue index ff01649e7..54d76a3c0 100644 --- a/sys/man/2/9pqueue +++ b/sys/man/2/9pqueue @@ -29,6 +29,7 @@ struct Reqqueue Reqqueue* reqqueuecreate(void); void reqqueuepush(Reqqueue *q, Req *r, void (*f)(Req *)); void reqqueueflush(Reqqueue *q, Req *r); +void reqqueuefree(Reqqueue *q); .fi .SH DESCRIPTION .I Reqqueue @@ -55,6 +56,10 @@ by which will remove the request immediately if processing has not started. If processing has been started, the process will be interrupted. +.PP +.I Reqqueuefree +frees a queue. +No new requests should be send to the queue and it will be freed once all requests in it have been processed. .SH SOURCE .B /sys/src/lib9p/queue.c .SH SEE ALSO |