Thanks for your reply Craid.  In my case I was able to use win32 events to
get the master process to check the status of the slave process.  Win32
events did allow and honor timeouts.  This allowed my master to detect that
the slave was dead and to restart it.

Thanks again for your reply,
--Moby

They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.  -- Benjamin Franklin

First they came for the Jews and I did not speak out because I was not a
Jew.
Then they came for the Communists and I did not speak out because I was not
a Communist.
Then they came for the trade unionists and I did not speak out because I was
not a trade unionist.
Then they came for me and there was no one left to speak out for me.  --
Pastor Martin Niem�ller 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig
Dayton
Sent: Saturday, August 02, 2003 10:47
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Win32::pipe


Mody,

I've experienced the same issues with Win32::Pipe blocking even though a
time-out value was specified.  Since the perl code was functioning as a
Windows Service, I just put together another Windows Service that polls the
named pipe service every 10 seconds.  Hopefully, Dave Roth will get a chance
someday to fix the module.

-Craig

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mobeen
Azhar
Sent: Saturday, July 26, 2003 21:40
To: [EMAIL PROTECTED]
Subject: Win32::pipe



I am writing a master/slave type set of programs utilizing Win32::Pipe.  In
contrast to what it states in the documentation, it appears that the
connect() method is blocking and it does not time out even if you specify a
timeout parameter when you create the named pipe in the call to the new
method.  Any others our there using Win32::Pipe experiencing the same issue?

Thanks in advance for any help,
--Moby

They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.  -- Benjamin Franklin

First they came for the Jews and I did not speak out because I was not a
Jew. Then they came for the Communists and I did not speak out because I was
not a Communist. Then they came for the trade unionists and I did not speak
out because I was not a trade unionist. Then they came for me and there was
no one left to speak out for me.  -- Pastor Martin Niem�ller 


_______________________________________________
Perl-Win32-Admin mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs




_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to