diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-06-17 15:55:23 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-06-17 16:01:20 +0200 |
commit | dba896b9a0ca7cbe4fb379017672bd44a0a77ef0 (patch) | |
tree | 5aeee1a6f05aa4a35ceab97ba6a7da16979555a5 /src/lib/sockets.c | |
parent | 1d196cfc0d87b6fd41ba15a3a7d17669711ed202 (diff) | |
download | ouroboros-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/lib/sockets.c')
0 files changed, 0 insertions, 0 deletions