I found that in tutorial lesson 4, atomic is used as follows
message->val = value;
atomic {
message->src = "">}
Since we don't have any async interface used here, why do we need atomic to protect this assignment here? And why this assignment alone, how about the assignment one line above?
Regards,
Haibin
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
