There is a vast amount written about Cooperative Multitasking for the "Classic MacOS", (versions 1-9). It was also popular on several other systems until the late 90's.
A search on Cooperative Multitasking should help. -- For some reason, the United States is the only country on Earth where accidents don't happen it's always somebody's fault, and you can sue that somebody for neglect. On Fri, November 17, 2006 2:34 pm, Michael Schippling said: > The short answer is no. > Tasks do not preempt. Interrupts can execute (small amounts of) code > in an interleaved manner, but newly posted tasks will not exec until the > current one completes. The best approach is to break up the long task > into shorter pieces and sequentially post them as tasks. > MS > > Cucco Cristiano wrote: >> Hi all, >> >> I'm dealing with an algorithm for security key generation to be applied on >> mica2 motes. >> The computation appeared to be very long (about 40sec) and in that period of >> time the mote could not execute any further task. >> Is there any implemented solution in TinyOS which would allow the algorithm >> to run concurrently with other tasks, like in a multithreading environment? >> >> Thank you in advance, >> Cristiano >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
