At 6:37pm on Nov 14, electrons from Martin Gercke conveyed:

> Hi,
> 
> I am having problems figuring this out:
> 
> In AMPromiscuous.nc in SendMsg.send the sendTask is called.
> AFTER this the buffer variable is filled which sendTask uses.
> Is it not possible that the task starts before the command SendMsg.send is
> ended?
> Or is this forbidden by the scheduler?

Short answer yes it is.

sendTask is a 'task' and when a task is called(posted is the 
right word) the scheduler adds it to the list of task to be 
executed(but will not execute the task immediately). When 
there are no events to execute the task in the tasklist are 
executed in FIFO order.


Sumit 

> 
> Martin
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 

-- 
Nothing in the world can take the place of persistence.
Talent will not; nothing more common than unsuccessful men
with talent. Genius will not; unrewarded genius is almost a
proverb. Education will not; the world is full of educated
failures. Persistence and determination alone are
omnipotent.
        Calvin Coolidge
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to