This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2eec1d
)
thread_it.pl: Increase Mac stack
author
Father Chrysostomos
<sprout@cpan.org>
Tue, 20 Aug 2013 20:05:04 +0000
(13:05 -0700)
committer
Father 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
patch
|
blob
|
blame
|
history
diff --git
a/t/thread_it.pl
b/t/thread_it.pl
index
8450ad9
..
751d764
100644
(file)
--- a/
t/thread_it.pl
+++ b/
t/thread_it.pl
@@
-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() : ()