[Tinyos-help] transition from async call
Ákos Maróy
darkeye at tyrell.hu
Fri Oct 5 02:49:57 PDT 2007
I know this is a lame question, but I really tried to read up on it and
can't find a simple answer.
The question is: from 'async' code, how do I call an 'normal' function?
Now what I have is, in an Alarm.fired() (which is async), I call
Read.read(). Fair enough, I get a warning for this. but how would I go
about this safely?
now what I have is:
async event void Alarm.fired() {
call Read.read();
}
how would I go about this safely?
Akos
More information about the Tinyos-help
mailing list