mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8321594: NativeThreadSet should use placeholder for virtual threads
Reviewed-by: bpb
This commit is contained in:
parent
973bcdab81
commit
b8c0b2fd8c
3 changed files with 52 additions and 56 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2023, 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
|
||||
|
@ -52,14 +52,6 @@ public class NativeThread {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the id of the current native thread if the platform can signal
|
||||
* native threads, 0 if the platform can not signal native threads.
|
||||
*/
|
||||
static long currentNativeThread() {
|
||||
return current0();
|
||||
}
|
||||
|
||||
/**
|
||||
* Signals the given native thread.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue