microsoft / microsoft/node-windows-mutex
Can this be used for interprocess lock?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 35
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Hello I need to have a lock between multiple processes.
Is it possible to use node-windows-mutex to accomplish that?
If so, could you give me a code example?
I tried to create a new Mutex object with a specific name in 2 processes simultaneously and it seemed that the code wasn't blocked in any way.
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by reading how node-windows-mutex exposes the Windows CreateMutex API, then reproduce the two-process scenario with the same mutex name. Done means documenting whether interprocess locking is supported and providing a working Node.js example if it is.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, node.js
- Domain
- operating-systems
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100