mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 18:53:37 +00:00
8384088: osThread _thread_id should be an int on all BSD's
Reviewed-by: phubner, dholmes
This commit is contained in:
parent
407acbe694
commit
e9bc05c707
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user