Hi Angelos,
though this doesn't seem to deal with Event-sinks it happened that I opened the 
mail: I don't know wether there is a thread limit but if you have an open 
listening socket, it happens, that thread-creation hangs accidentaly. This is 
my experience, too.
 
I solved that by starting my bunch of worker-threads itself in a thread. This 
is ok with sockets so far as I found. But you should ask yourself, if your 
threads are really helpfull, as they are still assumed unstable in Perl.
 
Dietmar

        -----Ursprüngliche Nachricht----- 
        Von: angelos [mailto:[EMAIL PROTECTED] 
        Gesendet: Fr 01.12.2006 14:21 
        An: perl-win32-users@listserv.ActiveState.com 
        Cc: 
        Betreff: Re: Event Sink script
        
        

        Is there a limit on win-32... on perl create threads ? like in
        
        my 
$lthread=threads->create(\&worker,$EXPIRES,$main_sock,$par1,$par2,$par3);
        
        where worker is a local function
        
        I have seen that depending on the system I can have from 2 up to 5
        threads created
         but this is inconstant.
        
        
        Many thanks all
        _______________________________________________
        Perl-Win32-Users mailing list
        Perl-Win32-Users@listserv.ActiveState.com
        To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
        

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to