RFR: 8339475: Clean up return code handling for pthread calls in library coding [v3]
Matthias Baesken
mbaesken at openjdk.org
Fri Sep 27 07:26:34 UTC 2024
On Fri, 27 Sep 2024 06:30:54 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> I am ok with this. I wonder what @tstuefe and @dholmes-ora think about the JLI_ReportErrorMessageSys changes though. I recall one of them preferring strerror_r over strerror
Hi Julian, in HS we use a large array of error strings :
8148425: strerror() function is not thread-safe
https://hg.openjdk.org/jdk9/jdk9/hotspot/rev/1537c752a7f5
In case we want to replace strerror in java_md_common.c (by strerror_r or by an array like we use in HS), that would be another separate issue.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21182#issuecomment-2378588837
More information about the client-libs-dev
mailing list