So, owl contains the following code snippet:

    /* Handle all keypresses.  If no key has been pressed, sleep for a
     * little bit, but otherwise do not.  This lets input be grabbed
     * as quickly as possbile */
    j=wgetch(typwin);
    if (j==ERR) {
      usleep(10);
    } else {

Upping that usleep to 100 from 10 seems to drop the CPU usage
significantly.  What does this mean?  I'm not sure.  In either case
I'm not seeing much actual performance degradation in the rest of the
system.

-- 
-Chris Shabsin                   [EMAIL PROTECTED]
-Software Engineer

echo Prpv a\'rfg cnf har cvcr | tr Pacfghnrvp Cnpstuaeic



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to