Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 10:08:41 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        Matthew Fleming <matthew.fleming@isilon.com>
Subject:   Re: sleep bug in taskqueue(9)
Message-ID:  <201011121008.41122.hselasky@c2i.net>
In-Reply-To: <201011121006.10183.hselasky@c2i.net>
References:  <06D5F9F6F655AD4C92E28B662F7F853E039E389A@seaxch09.desktop.isilon.com> <201011121006.10183.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011121008.41122.hselasky>