Skip to content

Commit

Permalink
XXX locale_threads.t: Add alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed May 6, 2023
1 parent 8964746 commit f468b82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/locale_threads.t
Expand Up @@ -1328,7 +1328,7 @@ SKIP: {
$switches = "switches => [ -DU ]" if $debug > 2;

# See if multiple threads can simultaneously change the locale, and give
# the expected radix results. On systems without a comma radix locale,
# the expected XXX radix results. On systems without a comma radix locale,
# run this anyway skipping the use of that, to verify that we dont
# segfault
fresh_perl_is("
Expand Down Expand Up @@ -1576,6 +1576,8 @@ SKIP: {
my \$result = 1; # So far, everything is ok
wait_until_time();
alarm(10 * 60); # Long time, just to prevent hanging
do {
# If everything is ok so far, do another chunk of iterations on
Expand Down

0 comments on commit f468b82

Please sign in to comment.