Zachary Loafman 1dac222419 Handle taskqueue_drain(9) correctly on a threaded taskqueue:
taskqueue_drain(9) will not correctly detect whether a task is
currently running.  The check is against a field in the taskqueue
struct, but for a threaded queue with more than one thread, multiple
threads can simultaneously be running a task, thus stomping over the
tq_running field.

Submitted by:       Matthew Fleming <matthew.fleming@isilon.com>
Reviewed by:        jhb
Approved by:        dfr (mentor)
2010-04-30 16:29:05 +00:00
..
2009-10-27 11:01:15 +00:00
2010-02-27 15:26:36 +00:00
2010-01-07 01:24:09 +00:00
2008-09-22 10:37:02 +00:00
2010-04-29 09:55:51 +00:00
2010-02-18 05:49:52 +00:00
2010-01-04 12:39:42 +00:00
2009-10-27 11:01:15 +00:00
2009-10-27 11:01:15 +00:00
2010-01-04 20:59:52 +00:00
2010-01-04 20:59:52 +00:00
2009-05-26 09:19:21 +00:00