I have successfully used sleep in this situation.  I wanted a process that
activated every hour (it did some "garbage collection"), so it went something
like

while (1) {
  sleep(3600);
  do_stuff();
}

and the other threads worked fine.


Arjan Knepper wrote:
> 
> How do I suspend one particular thread without suspending the whole process?
> I can not use sleep or usleep can I?
> 
> TIA
> Arjan
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message

-- 

Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to