$Bill Luebkert <> wrote:
> Daniel Rychlik wrote:
> 
>> Thanks,
>> 
>> I will try this out.  I hope it works in a multithreaded
>> environment... 
> 
> There is no alarm function on Win32, so if you're on UNIX you'll be
> fine.  IO::Socket used to use alarm and was modified to use select
> for that reason.  

Not quite. The alarm function has been made to work on Win32 (I don't
know how, but it is unlikely to involve real signals), but it won't be
much use in a multithreaded environment on UNIX either, as you can only
have one timer. Timing out socket I/O is better done with IO::Select, as
$Bill implies, irrespective of the number of threads.

HTH

-- 
Brian Raven 


=================================
Atos Euronext Market Solutions Disclaimer
=================================
The information contained in this e-mail is confidential and solely for the 
intended addressee(s). Unauthorised reproduction, disclosure, modification, 
and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message do not 
necessarily reflect those of Atos Euronext Market Solutions.

L'information contenue dans cet e-mail est confidentielle et uniquement 
destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. 
Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail 
vous parvient par erreur, nous vous prions de bien vouloir prevenir 
l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre 
systeme. Le contenu de ce message electronique ne represente pas necessairement 
la position ou le point de vue d'Atos Euronext Market Solutions.


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to