RE: Having trouble porting an application to MS-Windows
- From: rvm@xxxxxxxxx (Bob McConnell)
- Date: Thu, 14 Jun 2007 12:58:26 -0400
-----Original Message-----
From: Chas Owens [mailto:chas.owens@xxxxxxxxx]
Sent: Thursday, June 14, 2007 12:10 PM
To: Bob McConnell
Cc: beginners@xxxxxxxx
Subject: Re: Having trouble porting an application to MS-Windows
On 6/14/07, Chas Owens <chas.owens@xxxxxxxxx> wrote:
On 6/14/07, Bob McConnell <rvm@xxxxxxxxx> wrote:list of Perl
In "perlport - Writing portable Perl" in the Alphabetic
installed theFunctions:snip
alarm SECONDS
alarm
Not implemented. (Win32)
I couldn't find anything in the ActiveState release notes that
contradicted that.
snipthe latest version of ActiveState Perl on Windows XP works.
Are you using the latest version of ActiveState Perl? I
latest version this morning to test the code I sent and when I runatan2, and binmode.
perldoc -T perlport | find /i alarm
I get not output. The first three functions listed are -X,
In fact, the reference to alarm drops out of perlport in version 5.8.3
(released in 2004).
from Perl 5.8.3's Changes file
[ 21895]
alarm() is now implemented on Win32.
I am stuck on 5.8.0 at the moment due to compatability issues with some
database schema release management tools we use.
Assuming I can update to ActivePerl 5.8.8.820, if I set an alarm in one
forked process (thread?) before calling sysread() or sleep() on Win32,
will the same process receive the wakeup? Can I also send it a signal to
wake it up from another process? For the next step in this project I
have to split send and receive into two threads in order to handle a
full duplex connection. The ACK/NAK can be embedded anywhere in the
incoming data stream.
Bob McConnell
.
- Follow-Ups:
- Re: Having trouble porting an application to MS-Windows
- From: Chas Owens
- Re: Having trouble porting an application to MS-Windows
- References:
- Having trouble porting an application to MS-Windows
- From: Bob McConnell
- Re: Having trouble porting an application to MS-Windows
- From: Chas Owens
- RE: Having trouble porting an application to MS-Windows
- From: Bob McConnell
- Re: Having trouble porting an application to MS-Windows
- From: Chas Owens
- Re: Having trouble porting an application to MS-Windows
- From: Chas Owens
- Having trouble porting an application to MS-Windows
- Prev by Date: Re: Removing decimal points
- Next by Date: Re: Having trouble porting an application to MS-Windows
- Previous by thread: Re: Having trouble porting an application to MS-Windows
- Next by thread: Re: Having trouble porting an application to MS-Windows
- Index(es):
Relevant Pages
|