In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: Peter, I want to ask if every part of every program has to be split into nice little tick-sized subroutines in order to make use of the multi-threading structure you are creating. It seems that some tasks are well suited to running whenever there is "extra" time between scheduled tasks. For the background UART I finally got working I would like to buffer received data and, when enough bytes have been collected, begin to process it. I would like to enter this processing subroutine without having to worry about what its longest possible execution time might be and what scheduled tasks it might be preventing from running. Will the multi-threading structure you are developing allow some tasks (at least the designation of one that can be changed during execution) to be run in the slack or "extra" time between the completion of the currently scheduled task and the start of the next scheduled task? This seems useful to me. I hope I am not missing the point! - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=157842#m176188 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)