[Tinyos-help] async/sync events preemption

Philip Levis pal at cs.stanford.edu
Wed Jul 5 16:23:11 PDT 2006


On Wed, 2006-07-05 at 15:40, frigging frigging wrote:
> Thanks for all your help. There is still one thing which does not let
> me go on working. 
> I understand that any async function can preemp other async function
> and task (from your manual).
> My question is the follow:
> when an async function is interrupt because an other async function
> comes, is it correct that the second async function run to completion
> an after continue the former async function?

Yes. That's how interrupt handlers generally work, unless the OS does
some crazy stack swapping tricks.

Phil



More information about the Tinyos-help mailing list