elast0ny / elast0ny/raw_sync-rs
Failed to open mutex on Windows
Open
- Dominant language
- Rust
- Stars
- 66
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
While using raw_sync together with shared_memory works fine on Linux across processes on Windows I get a `Failed to open mutex mutex_ID` from https://github.com/elast0ny/raw_sync-rs/blob/master/src/locks/windows.rs#L65-L70
Taking a quick peek at the Windows API docs it seems like mutex object names might need `Global\` as prefix to be available across processes
Source: https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-createmutexa
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.