8384088: osThread _thread_id should be an int on all BSD's

Reviewed-by: phubner, dholmes
This commit is contained in:
Harald Eilertsen 2026-05-18 13:16:32 +00:00 committed by Paul Hübner
parent 407acbe694
commit e9bc05c707

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -29,13 +29,7 @@
#include <signal.h>
OSThread::OSThread()
: _thread_id(
#ifdef __APPLE__
0
#else
nullptr
#endif
),
: _thread_id(0),
_pthread_id(nullptr),
_unique_thread_id(0),
_caller_sigmask(),