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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to