]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: Add lock to prevent multiple daemons from running
authorSean Hefty <sean.hefty@intel.com>
Thu, 2 Dec 2010 22:12:56 +0000 (14:12 -0800)
committerSean Hefty <sean.hefty@intel.com>
Thu, 2 Dec 2010 22:12:56 +0000 (14:12 -0800)
commit49fcc60d268ba85ee40dc4a4e7d3a4faac3abe9b
tree517dae237c64bc280892803e33e19d8e9a7b1c5a
parent25005d0475638542ab125b42d439d853c185402a
ibacm: Add lock to prevent multiple daemons from running

Use a lock file to prevent multiple daemons from running
simultaneously.

Without this lock, a second instance of ib_acm eventually
fails to bind to the server's TCP port and exits, but not
before it overwrites a portion of the log file.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
acm_opts.cfg
src/acm.c
src/acme.c