Clipper idle mode, usleep and alrm
Hello.
Quoted 2 lines · Maximiliano Curia
Doing an strace I see a lot of SIGALRM which, I presume, are waking it up all the time. Could it be?
Yes. For the apps that do the polling in a tight loop, this doesn't hurt however, as they'll fall asleep again immediately.
Clipper calls the interrupts that sleep, very infrequently, that's why SIGALRM makes it difficult to release the CPU in that case.