This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
thread_it.pl: Increase Mac stack
authorFather Chrysostomos <sprout@cpan.org>
Tue, 20 Aug 2013 20:05:04 +0000 (13:05 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 21 Aug 2013 01:00:46 +0000 (18:00 -0700)
At Vincent’s suggestion (<5213ABBE.9080706@profvince.com>), increase
the Mac stack size to 1000000.

t/thread_it.pl

index 8450ad9..751d764 100644 (file)
@@ -32,7 +32,7 @@ note('running tests in a new thread');
 # On Mac OS X under gcc and g++, the default stack size is also too small.
 my $curr = threads->create({
                             stack_size => $^O eq 'hpux'   ? 524288 :
-                                          $^O eq 'darwin' ? 847873 : 0,
+                                          $^O eq 'darwin' ? 1000000: 0,
                            }, sub {
                               run_tests();
                               return defined &curr_test ? curr_test() : ()