Overview
| Artifact ID: | e12231f7f4f2b4d3c0ba2b7cbdad73370ff01164f18a7d80ee91bae49efd9363 |
|---|---|
| Ticket: | c35e347c6fb8df66917b1ab6974b3638925b4aa2
Concurrent Tcl_Init calls race in Unix locale initialization, causing crashes on OpenBSD |
| User & Date: | apnadkarni on 2026-10-20 08:05:30 |
Changes
- icomment:
Not looked at this yet, but generally speaking, my preference is to keep interp creation (`Tcl_Init` being part of it) as performant as possible. Part of that is minimizing calls as well as synchronization. To that end, is there a reason for retrieving the locale from the environment on a per interp basis and not once per process (or per thread)? If not, could this be subsumed into `Tcl_InitSubsystems`? Thoughts? In any case, I've put this on my queue :-)
- login: "apnadkarni"
- mimetype: "text/x-markdown"