$Bill Luebkert <> wrote: > Brian Raven wrote: > >> $Bill Luebkert <> wrote: >> >>> 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), > > The operative word here is 'work'. Just becasue there is an alarm > function does not mean by an stretch of the imagination that it will > do what you expect it to do based on what the UNIX alarm does. > > I haven't read the code, but I believe it requires you to be cycling > the main program loop and in the case of blocking IO, I don't think > that's the case for the poster. But feel free to experiment all you > like and report your results. > > Win32 is a message passing system and hasn't a notion of async > interruption of the code and restoration afterward.
I don't think I was suggesting that Perl's alarm function works identically on Win32 and Unix, that certainly wasn't my intention. My main points were that the alarm function does exist on Win32 Perl, and even if you were using Unix it probably isn't appropriate for a multithreaded environment, both of which are contrary to what you wrote. 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
