On Fri, Dec 08, 2023 at 03:25:21PM +0000, Miod Vallat wrote:
> How about that diff.
Should the tib_tid also be initialized?
>
> Index: include/tib.h
> ===================================================================
> RCS file: /OpenBSD/src/include/tib.h,v
> retrieving revision 1.9
> diff -u -p -r1.9 tib.h
> --- include/tib.h 27 Dec 2022 07:44:56 -0000 1.9
> +++ include/tib.h 8 Dec 2023 15:24:49 -0000
> @@ -216,6 +216,7 @@ struct tib {
> (tib)->tib_canceled = 0; \
> (tib)->tib_dtv = (dtv); \
> (tib)->tib_errno = 0; \
> + (tib)->tib_thread_flags = 0; \
> _TIB_PREP(tib); \
> } while (0)
>
>