From: <ma...@mm...> - 2002-10-17 22:51:56
|
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. = =20 Johan Lindstrom <jo...@ba...> = =20 Sent by: To: = =20 per...@li...urc <perl= -wi...@li...> =20 eforge.net cc: = =20 Subje= ct: Re: [perl-win32-gui-users] LWP + =20 Fork = + Win32::GUI =20 18/10/02 02:03 AM = =20 = =20 = =20 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 tr= ying >to do. I am attempting to take a list of links from a ListView and sen= d 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 i= n 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 te= sted a _lot_. And I still woulnd't trust it :) IThreads in Perl 5.8 is supposed to be a lot better. So when ActiveStat= e 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 probl= em with non-reentrant XS code and such. That would be _real_ nice! /J -------- ------ ---- --- -- -- -- - - - - - Johan Lindstr=F6m Sourcerer @ Boss Casinos jo...@ba... 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 Per...@li... https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users = |