K 10 svn:author V 3 zml K 8 svn:date V 27 2010-04-30T16:29:05.610305Z K 7 svn:log V 470 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 Reviewed by: jhb Approved by: dfr (mentor) END