On Wed, 27 Jul 2022 14:29:26 GMT, Jorn Vernee <jver...@openjdk.org> wrote:

> startThread and joinThread is not the functionality that the tests need.

But it is the functionality the tests are already using.

> now the context passed to CreateThread and pthread_create has to outlive the 
> function

That's not an issue for the API to solve, that is an issue for the user of the 
API to solve. pthread_create doesn't involve any memory management.

> So, run_in_new_thread_and_join it is.

Okay, that is fine.

-------------

PR: https://git.openjdk.org/jdk/pull/9599

Reply via email to