summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeevan Ramakant Nagvekar <jeevan.nagvekar1@wipro.com>2018-07-27 16:00:44 +0530
committerChristoph Lipka <clipka@users.noreply.github.com>2018-12-21 10:16:46 +0100
commit744b0d0c6b9231250dff00ed873e9cd5966da3ff (patch)
treef0589f531d32f1d512d45b51a406917489a5838b /include
parentc42a2bd8030113be0275ed07e1bc48779f607eec (diff)
downloadDLT-daemon-744b0d0c6b9231250dff00ed873e9cd5966da3ff.tar.gz
Remove one-instance-lock mechanism
This commit removes DLT's "one-instance-lock" mechanism. In daemonized mode, on first instance, a file is created (if not already created) and locked. If second instance is attempted file locking fails since the file is already locked by first instance. This prevents new instance of the DLT daemon. After analysis its found that there is no need of any mechanism for prevention of another instance. The same is already taken care by socket mechanism. Since main socket is created by first instance, attempt to create it again with same port number fails. Signed-off-by: Jeevan Ramakant Nagvekar <jeevan.nagvekar1@wipro.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions