Re: tasklets and finalization

Duncan Sands (duncan.sands@math.u-psud.fr)
Mon, 12 Nov 2001 09:41:29 +0100


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/