lkml.org 
[lkml]   [2004]   [May]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: workqueue and pending
FromBenjamin Herrenschmidt <>
DateTue, 04 May 2004 14:41:26 +1000
On Tue, 2004-05-04 at 14:15, Andrew Morton wrote:
> Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> >
> > It's probably still good to precise explicitely in the comments
> >  that upon return of cancel_delayed_work(), the work queue might
> >  still be pending and that a flush and whoever called this may
> >  still need a flush_scheduled_work() or flush_workqueue() (provided
> >  it's running in a context where that can sleep)
> 
> That function was originally written by a comment fetishist.

Heh, I should have looked at the code =P

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008