crashes due to missing TLB flushes in the past. Other stress tests
in regress also run for a minute. Additional 40 seconds to the run
time of the test suite is a small price compared to higher chance
of finding bugs.
-/* $OpenBSD: malloc_duel.c,v 1.3 2019/05/15 18:53:03 otto Exp $ */
+/* $OpenBSD: malloc_duel.c,v 1.4 2021/12/24 15:09:10 bluhm Exp $ */
/* PUBLIC DOMAIN Nov 2002 <marc@snafu.org> */
/*
for (i = 0; i < NCHILDS; i++)
CHECKr(pthread_create(&child[i], NULL, thread, NULL));
ASSERT(signal(SIGALRM, alarm_handler) != SIG_ERR);
- CHECKe(alarm(20));
+ CHECKe(alarm(60));
malloc_loop();
for (i = 0; i < NCHILDS; i++)
CHECKr(pthread_join(child[i], NULL));