Make `sun' global variable. It used by threads and could be corrupted
authormvs <mvs@openbsd.org>
Wed, 1 Dec 2021 10:24:40 +0000 (10:24 +0000)
committermvs <mvs@openbsd.org>
Wed, 1 Dec 2021 10:24:40 +0000 (10:24 +0000)
commit814474bfe15660514131f504d3ef71790237268e
treee457690673222ec43cd4da0118a98ffc2ffe6a31
parent8e742c844b3892e8bb9088abe774529903bf26cb
Make `sun' global variable. It used by threads and could be corrupted
when main() thread exited.
regress/sys/kern/unconacc/unconacc.c
regress/sys/kern/undgram_conclose/undgram_conclose.c