In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: pjv, Currently the delays in SX/B are just calculated from the clock speed. How does the delay look "give up" it's time slice when in a loop ? So if you have a "PAUSE 1" and the thread is given a time slice every 10uSec, then does it just "give up" it's slice 100 times ? Of course the compiler would need to "know" at compile time that the thread has a 10uSec time slice. How do you handle the __PARAMx variables in global RAM ? Do they need to be swapped for every task at every time slice ? Can you show some pseduo code of how you think it should be done ? Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=157842#m157899 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)