Re: tasklets and finalization

From: Duncan Sands (duncan.sands@math.u-psud.fr)
Date: Mon Nov 12 2001 - 03:41:29 EST


On Monday 12 November 2001 9:35 am, Mathijs Mohlmann wrote:
> On 12-Nov-2001 Duncan Sands wrote:
> > ...
> > tasklet_schedule(&my_tasklet);
> > tasklet_kill(&my_tasklet);
> > ...
> >
> > Since (as far as I can see) there is no way the
> > tasklet will run before calling tasklet_kill, this
> > should just kill any pending tasklets.
>
> cpu#1 cpu#2
> tasklet_schedule
> tasklet_schedule
> run tasklet
> tasklet_kill
> loop

Aaargh! I should think before typing. It is too
early in the morning here...

Duncan.
-
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/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:28 EST