taskqueue_block

Adrian Chadd adrian at freebsd.org
Thu Nov 21 20:18:09 UTC 2013


On 21 November 2013 11:14, John Baldwin <jhb at freebsd.org> wrote:
> On Tuesday, November 19, 2013 10:29:18 pm Adrian Chadd wrote:
>> Yes, and lets fix this. :)
>
> Hmm, is taskqueue_block() always used in context where waiting is safe?

I seem to recall that a taskqueue function may wish to block further
jobs from running. The trouble is that since it was called from a task
queued to that particular taskqueue, it'd hang. Sigh.

So yes, some slightly saner semantics would be nice.


-adrian


More information about the freebsd-hackers mailing list