Re: [[email protected]: Perl Event]
[email protected] (Robert Urban) Sun, 16 Nov 2003 02:01:31 +0100
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
You wrote: > ----- Forwarded message from Tom Howe <[email protected]> ----- > > From: Tom Howe <[email protected]> > X-X-Sender: [email protected] > To: [email protected] > Subject: Perl Event > > Hi, I have a query regarding Event. I am trying to build a network server > that can take various requests from different clients, divide then into > slices and process the slices on a first come/first served basis but im > having difficulty with it. > I am using an IO event watcher to check for new data on the socket and > using a VAR watcher to monitor a variable that is modified when a new > slice is created. Unfortunately, when it is processing the slices it seems > to completely ignore the IO watcher. It is as if the IO watcher doesnt get > a look in while the VAR watcher is at work. I have tried various writing "while the VAR watcher is at work" is ambiguous. Do you mean while the VAR watcher *callback* is running? Because that is what you mean, the behaviour is normal: the event-loop must be entered in order for an event to be serviced. -RLU > priorities but without success. > > Is there somewhere suitable I can post this if you are unable to help? > > Kind regards, Tom Howe