You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a project, I need reentrant mutex, which base rust doesn't provide. Now, it's possible to use parking_lot, but I'd rather just stick to SDL3. So, I've got some Mutex working (basically copied most of the Mutex code for Rust, but using SDL_Mutex instead of a system one).
Would there be any interest in seeing this as a PR? It would basically be a reentrant drop-in replacement for "Mutex". Or should I just keep this local to my project.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
For a project, I need reentrant mutex, which base rust doesn't provide. Now, it's possible to use parking_lot, but I'd rather just stick to SDL3. So, I've got some Mutex working (basically copied most of the Mutex code for Rust, but using SDL_Mutex instead of a system one).
Would there be any interest in seeing this as a PR? It would basically be a reentrant drop-in replacement for "Mutex". Or should I just keep this local to my project.
Beta Was this translation helpful? Give feedback.
All reactions