scottl 2008-03-25 22:38:45 UTC
FreeBSD src repository
Modified files:
sys/sys taskqueue.h
sys/kern subr_taskqueue.c
Log:
Implement taskqueue_block() and taskqueue_unblock(). These functions allow
the owner of a queue to block and unblock execution of the tasks in the
queue while allowing tasks to continue to be added queue. Combining this
with taskqueue_drain() allows a queue to be safely disabled. The unblock
function may run (or schedule to run) the queue when it is called, just as
calling taskqueue_enqueue() would.
Reviewed by: jhb, sam
Revision Changes Path
1.41 +28 -1 src/sys/kern/subr_taskqueue.c
1.18 +2 -0 src/sys/sys/taskqueue.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"