Hi there, I' m scrutinizing the CTPForwardingEngine now, I'm little confused by the function forward(); I realize the QEntryPool is necessary, for it will put a new recieved packet into the queue. But I cannot understand the function of MessagePool. Everytime it grab a space from this pool and return a pointer newMsg, but it assign it equals to 0 and let the SubReceive.receive return this value. why we need to do this, and assign this newMsg's pointing space equal to 0, does the SubReceive.receive needs such a return value? I cannot see its point.
anyone can give me a hint? thanks! Peng
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
