i was under the impression that forking didn't work at all under
windows.....some problem with svtypes(? ). perl 5.8.0 threads and
win32::gui seem to work wonderfully tho.



                                                                                
                                    
                    Johan Lindstrom <[EMAIL PROTECTED]>                         
                                    
                    Sent by:                                      To:           
                                    
                    [EMAIL PROTECTED]        
<perl-win32-gui-users@lists.sourceforge.net>      
                    eforge.net                                    cc:           
                                    
                                                                  Subject:     
Re: [perl-win32-gui-users] LWP +     
                                                                  Fork + 
Win32::GUI                                 
                    18/10/02 02:03 AM                                           
                                    
                                                                                
                                    
                                                                                
                                    




At 10:37 2002-10-17 -0400, Michael Alaly wrote:
>off-list I would apprecaite it. I am new to Win32::GUI and forking and am
>trying to do something very similar to what it looked like you were trying
>to do. I am attempting to take a list of links from a ListView and send
them
>each to a child for download. I am running into lots of problems with fork
>and page faults that I can't seem to solve.

fork under Win32 is emulated using IThreads (the only use of IThreads in
5.6.1). They seem to work fine using pure Perl, but XS code is more
difficult (Win32::GUI is XS, and it also allocates Windows resources). Any
solution with fork + Perl 5.6.1 should be considered unstable unless tested
a _lot_. And I still woulnd't trust it :)

IThreads in Perl 5.8 is supposed to be a lot better. So when ActiveState
releases a 5.8 distro, maybe we can make use for it.

I think one of the new things is that variables aren't shared between
threads unless you say so. And that, I hope, may solve the entire problem
with non-reentrant XS code and such.

That would be _real_ nice!


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "Perl memory management - Jan Dubois - Re lookin..."
http://aspn.activestate.com/ASPN/Mail/Message/895049
dmoz (1 of 8): /Computers/Programming/Languages/Ruby/ 33




-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users




Reply via email to