[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: problem with usleep?

> I don't need a real time sleep, I just need to be sure that 
> the process sleeps
> so I can give the cycles to another process.
> what sort of signal would interrupt usleep?  Is there a 
> better way to do this?

Try sched_yield(2).