Here's my first try at some code to allow processes to co-operate by implementing mutual exclusion, or "mutex".
The basic code uses J file-locking to allow processes to take turns holding a common file.
The test cases are crucial to this endeavor.
Here's my first try at some code to allow processes to co-operate by implementing mutual exclusion, or "mutex".
The basic code uses J file-locking to allow processes to take turns holding a common file.
The test cases are crucial to this endeavor.
DevonMcCormick/mutex (last edited 2010-07-12 03:51:09 by DevonMcCormick)