taskqueue_drain_all

2013-10-09 Thread Andriy Gapon
I would like to propose to extend taskqueue API with taskqueue_drain_all. A potential use case: I have a private taskqueue, several kinds of tasks get executed via it and then I want to make sure that all of them are completed. Obviously, I have a way to ensure that no new ones get enqueued

Re: taskqueue_drain_all

2013-10-09 Thread Adrian Chadd
+1 Very useful :) -a On 9 October 2013 01:55, Andriy Gapon a...@freebsd.org wrote: I would like to propose to extend taskqueue API with taskqueue_drain_all. A potential use case: I have a private taskqueue, several kinds of tasks get executed via it and then I want to make sure that all