summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-06-17 15:55:23 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-06-17 16:01:20 +0200
commitdba896b9a0ca7cbe4fb379017672bd44a0a77ef0 (patch)
tree5aeee1a6f05aa4a35ceab97ba6a7da16979555a5 /src/tools/irm/irm.c
parent1d196cfc0d87b6fd41ba15a3a7d17669711ed202 (diff)
downloadouroboros-dba896b9a0ca7cbe4fb379017672bd44a0a77ef0.tar.gz
ouroboros-dba896b9a0ca7cbe4fb379017672bd44a0a77ef0.zip
irmd, lib: use shm_du_map as lockfile.
Added the pid of the irmd to the shm_du_map. The IRMd will check for an existing shm_du_map. If there is an existing file, it will exit if the owner IRMd is running or remove it if the owner IRMd is not running. Also simplifies calculation of the shm_du_map pointers and corrects exiting calls for the IRMd. Fixes #8.
Diffstat (limited to 'src/tools/irm/irm.c')
0 files changed, 0 insertions, 0 deletions