ablmf has asked for the wisdom of the Perl Monks concerning the following question:
But if I have to do some Remote Database operation, the whole program will be blocked.while(@ready = $sel->can_read) { foreach $fh (@ready) { if($fh == $lsn) { # Create a new socket } else { # Process socket } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: a IO:SELECT problem
by Corion (Patriarch) on Jun 25, 2006 at 16:54 UTC | |
|
Re: a IO:SELECT problem
by sgifford (Prior) on Jun 26, 2006 at 01:55 UTC | |
by ablmf (Acolyte) on Jun 26, 2006 at 14:50 UTC | |
by sgifford (Prior) on Jun 26, 2006 at 15:39 UTC | |
by BrowserUk (Patriarch) on Jun 26, 2006 at 15:52 UTC | |
by ablmf (Acolyte) on Jun 26, 2006 at 16:09 UTC |