Re: Problem with freezable workqueues
- From: "Rafael J. Wysocki" <rjw@xxxxxxx>
- Date: Wed, 28 Feb 2007 18:41:57 +0100
On Wednesday, 28 February 2007 14:27, Srivatsa Vaddagiri wrote:
On Wed, Feb 28, 2007 at 06:47:21PM +0530, Srivatsa Vaddagiri wrote:
--- workqueue.c.org 2007-02-28 18:32:48.000000000 +0530
+++ workqueue.c 2007-02-28 18:44:23.000000000 +0530
@@ -718,6 +718,8 @@ static void cleanup_workqueue_thread(str
insert_wq_barrier(cwq, &barr, 1);
cwq->should_stop = 1;
alive = 1;
+ if (frozen(cwq->thread))
+ thaw(cwq->thread);
I meant thaw_process(cwq->thread)
I thought so, but thanks anyway. ;-)
-
}
spin_unlock_irq(&cwq->lock);
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Problem with freezable workqueues
- From: Rafael J. Wysocki
- Re: Problem with freezable workqueues
- From: Srivatsa Vaddagiri
- Re: Problem with freezable workqueues
- From: Srivatsa Vaddagiri
- Problem with freezable workqueues
- Prev by Date: fix implicit declaration in nv_backlight.
- Next by Date: Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3
- Previous by thread: Re: Problem with freezable workqueues
- Next by thread: Re: Problem with freezable workqueues
- Index(es):