Skip to content

Fix run win32 console reader in thread instead of isolated context#15714

Closed
ysbaddaden wants to merge 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/execution-context-load-debug-info-win32
Closed

Fix run win32 console reader in thread instead of isolated context#15714
ysbaddaden wants to merge 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/execution-context-load-debug-info-win32

Conversation

@ysbaddaden
Copy link
Collaborator

Also takes control over when the console is setup for UTF-8 and when we start the thread (in kernel.cr right before we start the stdios), instead of running at whatever time during the runtime startup.

Follow up to #15704

Also takes control over when the console is setup for UTF-8 and when we
start the thread (in `kernel.cr` right before we start the stdios),
instead of running at whatever time during the runtime startup.
@ysbaddaden ysbaddaden added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:runtime topic:multithreading labels Apr 28, 2025
@ysbaddaden ysbaddaden self-assigned this Apr 28, 2025
@ysbaddaden ysbaddaden changed the title Fix: use thread to run win32 console reader instead of execution context Fix: run win32 console reader in thread instead of isolated context Apr 28, 2025
@ysbaddaden ysbaddaden added the platform:windows Windows support based on the MSVC toolchain / Win32 API label Apr 28, 2025
@ysbaddaden ysbaddaden added this to the 1.16.2 milestone Apr 28, 2025
@straight-shoota straight-shoota changed the title Fix: run win32 console reader in thread instead of isolated context Fix run win32 console reader in thread instead of isolated context Apr 28, 2025
@ysbaddaden
Copy link
Collaborator Author

Sigh, Windows interpreter gets broken: https://github.com/crystal-lang/crystal/actions/runs/14703985934/job/41275681347

@github-project-automation github-project-automation bot moved this from Review to Done in Multi-threading Apr 28, 2025
@straight-shoota straight-shoota removed this from the 1.16.2 milestone Apr 29, 2025
@ysbaddaden ysbaddaden deleted the fix/execution-context-load-debug-info-win32 branch April 29, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. platform:windows Windows support based on the MSVC toolchain / Win32 API topic:multithreading topic:stdlib:runtime

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants