26 Jan
2004
26 Jan
'04
14:25
Lukacs Zsolt wrote:
Hi,
I have created a process which cretes some threads. I would like to sleep one thread (let's say for 500 ms) while the other threads are still working. Does anybody know how to do that? I have already tried to use the sleep() function but it seems that it the whole process goes to sleep not just olny one of the threads owned by the process.
Thanks
Zsolt
Need to look at the code a bit. I don't seem to have the same trouble when using pthreads.