RFR: 8290059: Do not use std::thread in panama tests [v2]

David Holmes dholmes at openjdk.org
Thu Jul 28 04:59:31 UTC 2022


On Wed, 27 Jul 2022 14:29:26 GMT, Jorn Vernee <jvernee at 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



More information about the build-dev mailing list