[Tinyos-help] Calling sync from async context

Dimas Abreu Dutra d1ma5ad at gmail.com
Fri Aug 29 16:45:52 PDT 2008


Hello all,

is there any way to use an interface with sync commands and events from an
async context in a safe way? There are several times when I need to use, for
example, a queue or bit vector from an async context and what I do is copy
module and include atomic sections where needed and change the interface
(e.g.: AsyncQueue and AsyncQueueC). Is there any better way?

~Dimas~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080829/d287893a/attachment.htm 


More information about the Tinyos-help mailing list