On Wed, 5 Aug 2026 09:47:57 GMT, Daniel Fuchs <[email protected]> wrote:
>> Hello Daniel, yes I think that's a cleaner option that using a >> CountDownLatch. I've updated the PR accordingly. The test continues to pass. > > Actually my suggestion was to (also?) make `nativeThreadId` a > `CompletableFuture<Long>` ; But if the logic is that this method should never > be called before calling ready.join() then that's OK. Hello Daniel, the `getThreadId()` is expected to be called only after the `ready` `CompletableFuture` completes normally. I've updated the PR to add a test comment clarifying the usage. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32051#discussion_r3720086005
