Set the stack size attribute of the pthreads large enough to allocate
authorbluhm <bluhm@openbsd.org>
Fri, 21 May 2021 20:21:10 +0000 (20:21 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 21 May 2021 20:21:10 +0000 (20:21 +0000)
commit5a9dda22de6131f37bed3e4fc79bce66a4fa3a44
tree16101187712948b36d12b6c489ec853141371274
parent3e4f07eaba50fc223ab92ec2de859d8cc828dd18
Set the stack size attribute of the pthreads large enough to allocate
the specified amount of stack memory.  On 32 bit architectures
regress fork-exit failed as the default stack size for pthreads is
smaller.  With the limit set to the expected size we can test even
larger thread stacks.
regress/sys/kern/fork-exit/Makefile
regress/sys/kern/fork-exit/fork-exit.c