[RFC] threading issues
- From: muppet <scott asofyet org>
- To: gtk-perl list <gtk-perl-list gnome org>
- Subject: [RFC] threading issues
- Date: Fri, 3 Oct 2003 15:51:00 -0400
thinking about the troubles people have had compiling gtk2-perl on
non-threaded perls since the Glib config defaults to enabling thread
safety support....
would it be reliable or advisable to attempt to determine whether
thread safety should be enabled by checking %Config in Makefile.PL? if
so, what would be a reliable way to check? something like
use Config;
$use_threads = $Config{config_args} =~ m/-Duse(i)?threads/;
is this a good thing? this will require that you build the extension
with a perl configured the same way as the one with which you want to
use it.
what do you think? will this help?
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]