2e7 Subj : Sleep() doesn't work as I expect. To : borland.public.cpp.borlandcpp From : Chris Phillips Date : Thu Jul 08 2004 11:02 am I have an application with 3 threads to it. One thread is simply processing serial IO but must run close to real-time - I have given it priority tpTimeCritical. This thread is executed by the main program. However, if the main program is doing something processor intensive (such as retreiving a number of database records), then my Comms thread doesn't get a look in until the processor intensive part has finished. I have put a Sleep command into the processor intensive loop thinking that it will allow the Comms thread to continue with its stuff, but to no avail. Any suggestions? . 0