Re: tasklets and finalization

Mathijs Mohlmann (mathijs@knoware.nl)
Mon, 12 Nov 2001 09:35:36 +0100 (CET)


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

-- 
        me
-
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/