SIGN IN SIGN UP

[3.14] gh-138004: Fix setting a thread name on OpenIndiana (GH-138017) (#138384)

gh-138004: Fix setting a thread name on OpenIndiana (GH-138017)

Encode Solaris/Illumos thread names to ASCII, since
OpenIndiana does not support non-ASCII names.

Add tests for setting non-ASCII name for the main thread.
(cherry picked from commit c19db1d2b8935b6f4f775a0957a076f1864fbf80)

Co-authored-by: jadonduff <jadon_duff@icloud.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
ffc67b3505cdf7c4e7fa50a7916a06accf4961ba
Parent: a893270
Committed by GitHub <noreply@github.com> on 10/7/2025, 6:58:35 PM