|
From: Mattia B. <mb...@ds...> - 2002-03-21 20:29:10
|
> Hi,
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...???
wxWindows can be used with threads; but I don't know
how wxPerl will interact with Perl fork emulation, since
I never used it.
> any clues?
Don't use fork? Really: what are you trying to achieve?
I know this does not help you much...
Regards
Mattia
> 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/
>
>
>
> _______________________________________________
> wxperl-users mailing list
> wxp...@li...
> https://lists.sourceforge.net/lists/listinfo/wxperl-users
|