Skip to content

rktio: clean up out-of-date Windows complexity - #5592

Open
mflatt wants to merge 1 commit into
racket:masterfrom
mflatt:modernize-win
Open

mflatt wants to merge 1 commit into
racket:masterfrom
mflatt:modernize-win

Conversation

@mflatt

@mflatt mflatt commented Sep 26, 2026

Copy link
Copy Markdown
Member

This PR is intended as the core of #5575, leaving out changes to Chez Scheme and making small corrections:

  • rktio_destroy is intended to destroy only one rktio instance, so it should not destroy the critical section.

  • foreign.c is derived from foreign.rktc.

  • Changed to direct use of RegisterEventSourceW and ReportEventW.

  • Fixed cross compilation.

The commit here also drops the change to add -DPSAPI_VERSION=2, because it doesn't seem necessary with current compiler configurations.

Does this look ok to you, @ndykman?

Since we target Windows 7 and later, remove workarounds for older
Windows versions. Also, use a critical section instead of a semaphore
for critical sections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants