|
From: Czo [O. Sirol] <Oli...@li...> - 2002-03-21 15:28:06
|
Hi,
Thank you, Mattia, for your work!
Here is the problem:
Using wxperl (up to 0.10)
and active perl (up to build 626)
under windows (NT4 or 2000)
using fork() will crash perl if I use Wx...
this pb might come from the fact that active perl
uses threads to emulates forks under windows and
that Wx isn't thread safe...???
any clues?
Just uncomment "use Wx" and this will make
active perl crash...
=<===================================
#!/usr/bin/perl
use strict;
#use Wx;
my $pid=0;
$pid=fork();
print("Bonjour\n");
if ($pid==0)
{
print("Bonjour papa\n");
}
print("Salut\n");
=<===================================
bye.
Olivier.
--
http://asim.lip6.fr/home/czo/vcard/
|