]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/2/9pqueue
games/galaxy: Change button 2 to reposition the galaxy, remove "move" from the button...
[plan9front.git] / sys / man / 2 / 9pqueue
index ff01649e7283a27b08af3f8a656c0b8b9f6e24ce..54d76a3c01bb83eaee81d62156bcb6fc43aac9aa 100644 (file)
@@ -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