Re: sleep bug in taskqueue(9)

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Fri, 12 Nov 2010 10:08:41 +0100
On Friday 12 November 2010 10:06:10 you wrote:
> -               queue->tq_running = NULL;

forgot this check:

		/* don't clear if queued again */
		if (task->ta_entry.tqe_prev == (void *)1)
> +               task->ta_entry.tqe_prev = (void *)0;
>                 wakeup(task);
Received on Fri Nov 12 2010 - 08:07:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC