Skip to content

Conversation

Mefiresu
Copy link

@Mefiresu Mefiresu commented Jun 1, 2025

Implements dkp's gthread interface using LWP functions.
With this, std::{thread,mutex,recursive_mutex,condition_variable} are now supported.

Note that some parts of the gthread interface are not yet implemented (like gthread_key_*), but it doesn't seem to impact functionality.

Implements dkp's gthread interface using LWP functions.
With this, std::{thread,mutex,recursive_mutex,condition_variable} are
now supported.
@Mefiresu
Copy link
Author

Mefiresu commented Jun 3, 2025

Force pushed to add __gthread_once implementation required for some static constructor initializations (heavily based on WUT).
Verified to be working correctly by porting fheroes2 + some manual tests.

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.

1 participant