If I understand it correctly, sleep, sleepex, etc. all tell the Windows scheduler to abandon the current threads remaining runtime, and to not wake up until the event has been satisfied (time has elapsed, event signaled, etc).
This allows another thread to run (both inside and outside your application, but I would assume you're only concerned with the ones inside your app). So you would (prior to the sleep call) view the list of threads in the process, and then set breakpoints on all the ones other than the one about to go to sleep.
Chip H.
____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first