Skip to content

Clean up thread registration code and DllMain thread registration.#305

Open
Apprentice-Alchemist wants to merge 2 commits into
HaxeFoundation:masterfrom
Apprentice-Alchemist:no-dllmain
Open

Clean up thread registration code and DllMain thread registration.#305
Apprentice-Alchemist wants to merge 2 commits into
HaxeFoundation:masterfrom
Apprentice-Alchemist:no-dllmain

Conversation

@Apprentice-Alchemist

Copy link
Copy Markdown
Contributor

This should fix #303

@tobil4sk

tobil4sk commented Apr 9, 2025

Copy link
Copy Markdown
Member

When running the haxelib server with these changes I get these errors:

Threads explicit registering is not previously enabled

It looks like somewhere we need to run: https://github.com/ivmai/bdwgc/blob/ef01762da61fc803f430751506f6ee2176fe9221/include/gc/gc.h#L1719

It would also be good to split out the windows specific changes here so it can be handled separately

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.

Fatal error in GC: SuspendThread failed due to race condition

2 participants