Friday, February 12, 2010

[fohtkxgg] Mutex for processes

Create command line tools for getting managing mutual exclusion between Unix / Linux processes on the same machine.  This should be easy be an easy application of Unix IPC.

Motivated by trying to reduce the IO churn that "make -j" occasionally causes: only allow one process in the IO heavy section at a time.

2 comments :

Anonymous said...

flock(1)?

Ken said...

Thanks. I was not aware of this; it may provide enough rope.