Event and CPU usage while idle

2002-02-08 Thread Colin Murtaugh
Hi -- I'm trying to use Event.pm to do some pretty basic event handling (watching for incoming data on a named pipe, and eventually some timers) but I keep having trouble with CPU usage. Seems that once the loop starts, my script uses all available cpu. The script I'm using to test with is belo

Event & cpu usage

2002-02-08 Thread Colin Murtaugh
Hi -- I'm trying to use Event.pm to do some pretty basic event handling (watching for incoming data on a named pipe, and eventually some timers) but I keep having trouble with CPU usage. Seems that once the loop starts, my script uses all available cpu. The script I'm using to test with is belo

Re: Event and CPU usage while idle

2002-02-08 Thread Joshua N Pritikin
On Fri, Feb 08, 2002 at 03:37:17PM -0500, Colin Murtaugh wrote: > I'm trying to use Event.pm to do some pretty basic event handling > (watching for incoming data on a named pipe, and eventually some timers) > but I keep having trouble with CPU usage. Seems that once the loop > starts, my script u