Possible spin-problem in nanosleep()
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Richard B. Johnson
Is this a known problem? Is it going to be fixed? In a possibly related note, the following:
main(){ for(;;) sched_yield(); }.... is shown to be spinning, by 'top' not sleeping. This, even though it is giving up its quantum continuously.
If no other processes are runnable, this will still use 100% of the CPU.
Signature · 3 lines
Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [email protected] Home Page: http://www.roberthancock.com/