]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a taskqueue_quiesce(9) KPI.
authorMark Johnston <markj@FreeBSD.org>
Wed, 21 Nov 2018 17:18:27 +0000 (17:18 +0000)
committerMark Johnston <markj@FreeBSD.org>
Wed, 21 Nov 2018 17:18:27 +0000 (17:18 +0000)
commitbb58b5d6708ec7c13fdc2025616824ea5af8ce6e
treedec9d6207f815da68371cdb6ebb641be01f52a6c
parentcfebc0faa7cf1377d7c419e9e2ce889f43ffb68b
Add a taskqueue_quiesce(9) KPI.

This is similar to taskqueue_drain_all(9) but will wait for the queue
to become idle before returning instead of only waiting for
already-enqueued tasks to finish.  This will be used in the opensolaris
compat layer.

PR: 227784
Reviewed by: cem
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17975
share/man/man9/Makefile
share/man/man9/taskqueue.9
sys/kern/subr_taskqueue.c
sys/sys/taskqueue.h