How can I do Sleep in the threads (about 3 threads), which the function sleep will not effect each other. And also don't lose control to the program interface control.
I had tried Sleep function but when one thread call Sleep, other threads stop and wait for it.
(I can not use Application.ProcessMessages because I call it from thread)
I would like a sleep function that stop only that thread and do not effect to other and also the main program. So user can control the program.