On Wed, 27 Jul 2022 14:34:49 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
>> This patch removes the use of std::thread from the `java.lang.foreign` >> tests, and switches to the OS specific thread APIs, in order to change >> things such as the stack size on some platforms where this is required in >> the future (see the JBS issue). >> >> This is done by adding a small header-only library that exposes a function >> to run code in freshly spawned threads (`run_async`). >> >> Testing: Running the affected tests on platforms that implement the linker. > > Jorn Vernee has updated the pull request incrementally with one additional > commit since the last revision: > > run_in_new_thread_and_join Looks still good. ------------- PR: https://git.openjdk.org/jdk/pull/9599