RFR: 8339475: Clean up return code handling for pthread calls in library coding [v3]
Matthias Baesken
mbaesken at openjdk.org
Sun Sep 29 16:53:40 UTC 2024
On Sat, 28 Sep 2024 10:40:49 GMT, Florian Weimer <fweimer at openjdk.org> wrote:
>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>>
>> some macOS cleanup
>
> src/java.base/macosx/native/libjli/java_md_macosx.m line 315:
>
>> 313: rc = pthread_create(&main_thr, NULL, &apple_main, &args);
>> 314: if (rc != 0) {
>> 315: JLI_ReportErrorMessageSys("Could not create main thread, return code: %s\n", rc);
>
> This looks buggy, so I filed: https://bugs.openjdk.org/browse/JDK-8341135
Thanks, I'll look into this next week.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21182#discussion_r1780086189
More information about the client-libs-dev
mailing list