Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 13:42:11 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Luigi Rizzo <luigi@freebsd.org>, Bernhard Schmidt <bschmidt@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Aleksandr Rybalko <ray@freebsd.org>, Andrew Thompson <thompsa@freebsd.org>, Pyun YongHyeon <yongari@freebsd.org>
Subject:   Re: taskqueue_block
Message-ID:  <CAJ-Vmon6F6JaSPrxht8AUsEwHmVwZDoS%2BszNEtFm-X%2BRACLqYA@mail.gmail.com>
In-Reply-To: <5294BDCF.1050702@FreeBSD.org>
References:  <5287BDB9.10201@FreeBSD.org> <528B7681.6090806@FreeBSD.org> <CAJ-Vmon5AuBDO8q3uddSnvqBTq71r9vW66DAk9oVpLKUUbX0mA@mail.gmail.com> <201311211414.06849.jhb@freebsd.org> <5294BDCF.1050702@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

the net80211 semantics are:

* all those tasks have to have finished;
* no new tasks should've been started whilst we're draining those tasks.

waitfor_parent wants to block until all the pending update tasks are
done. Ideally it would then stay blocked until the caller does their
thing and then unblocks the taskqueue.



-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmon6F6JaSPrxht8AUsEwHmVwZDoS%2BszNEtFm-X%2BRACLqYA>