You can get sort of the call sequence by breaking up the pieces of code that need to be coordinated into event handlers (or, preferably, tasks posted by event handlers. Signalling an event is sort of like notify. In order to wait, you need to just exit the task, and whatever you want to happen after the notify you put in an event handler (or task posted by an event handler).
Hope this helps, -Kim. On Thu, Nov 11, 2004 at 06:49:57PM -0500, Baozhi Chen wrote: > Is there a way to implement the Notify() and wait() btw threads like in Java? > > Thanks. > > Bob > _______________________________________________ > Tinyos-users mailing list > [EMAIL PROTECTED] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
