Re: tasklets and finalization

From: Mathijs Mohlmann (mathijs@knoware.nl)
Date: Mon Nov 12 2001 - 03:35:36 EST


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/



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