----- Original Message ----- From: Orlando Andico
To: The Main Philippine Linux Users' Group (PLUG) Discussion List
Sent: Monday, November 21, 2005 11:31 AM
Subject: [plug] Perl: handling blocking reads "nicely"


this SEEMS to work, but i'm not too confident about it because i don't
know how alarm() and signal() interact with each other. certainly sleep()
interferes with signal() and select() which is used for network I/O.

sleep() doesnt interferes with signal() and select()... but signal() interferes with sleep() and select()...

setting an alarm() sets a timer to deliver the signal SIGALRM to the calling process after the specified number of second(s)...

fooler.


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to