From: "Jenda Krynicky" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed, 30 May 2001 14:48:21 -0100
Subject: Re: Win32::Semaphore question
CC: [EMAIL PROTECTED]

--Message-Boundary-4568
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

> I'm trying to get some synchronisation working between several child
> processes, using a counting semaphore.
> Probably I'm doing something wrong, because I get errors when releasing
the
> semaphore, stating that the handle is invalid.
> Because the release works the first time, I think I must do something with
> the inherited filehandles.

There are several problems with Win32::Semaphore and fork()ed 
threads. And a few with your code.
.
.
.
<big snip>
.
.
.
WOW!  That's some pretty nifty thinking there Jenda.  I'm both informed and
impressed by your answer.

Scott Johnson

_________________________________________________________________
                                C I S C O  S Y S T E M S
                                Engineering Release Management
                                ISM Group
                                Champaign, Illinois
 
 
 
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to