Can anyone who read the TinyOS programming book by Dr. Leviw help me to clarify my following statement? The example in Listing 4.22 is a sync command. The variable "state" should be protected by atomic; otherwise it maybe updated by some async event. Then the following explanation in this book should be modified accordingly.
Regards, Hui _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help