{"action":"created","issue":{"url":"https://api.github.com/repos/quattor/CAF/issues/132","labels_url":"https://api.github.com/repos/quattor/CAF/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/quattor/CAF/issues/132/comments","events_url":"https://api.github.com/repos/quattor/CAF/issues/132/events","html_url":"https://github.com/quattor/CAF/pull/132","id":127830071,"number":132,"title":"fix race condition in locking","user":{"login":"ttyS4","id":4060375,"avatar_url":"https://avatars.githubusercontent.com/u/4060375?v=3","gravatar_id":"","url":"https://api.github.com/users/ttyS4","html_url":"https://github.com/ttyS4","followers_url":"https://api.github.com/users/ttyS4/followers","following_url":"https://api.github.com/users/ttyS4/following{/other_user}","gists_url":"https://api.github.com/users/ttyS4/gists{/gist_id}","starred_url":"https://api.github.com/users/ttyS4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttyS4/subscriptions","organizations_url":"https://api.github.com/users/ttyS4/orgs","repos_url":"https://api.github.com/users/ttyS4/repos","events_url":"https://api.github.com/users/ttyS4/events{/privacy}","received_events_url":"https://api.github.com/users/ttyS4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-21T02:18:00Z","updated_at":"2016-01-21T16:09:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/quattor/CAF/pulls/132","html_url":"https://github.com/quattor/CAF/pull/132","diff_url":"https://github.com/quattor/CAF/pull/132.diff","patch_url":"https://github.com/quattor/CAF/pull/132.patch"},"body":"By introducing flock() a race condition can be avoided. This avoids if 2\r\nncm-ncd processes are started exactly the same time and both believe he\r\nhas the lock."},"comment":{"url":"https://api.github.com/repos/quattor/CAF/issues/comments/173619462","html_url":"https://github.com/quattor/CAF/pull/132#issuecomment-173619462","issue_url":"https://api.github.com/repos/quattor/CAF/issues/132","id":173619462,"user":{"login":"jrha","id":323309,"avatar_url":"https://avatars.githubusercontent.com/u/323309?v=3","gravatar_id":"","url":"https://api.github.com/users/jrha","html_url":"https://github.com/jrha","followers_url":"https://api.github.com/users/jrha/followers","following_url":"https://api.github.com/users/jrha/following{/other_user}","gists_url":"https://api.github.com/users/jrha/gists{/gist_id}","starred_url":"https://api.github.com/users/jrha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrha/subscriptions","organizations_url":"https://api.github.com/users/jrha/orgs","repos_url":"https://api.github.com/users/jrha/repos","events_url":"https://api.github.com/users/jrha/events{/privacy}","received_events_url":"https://api.github.com/users/jrha/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T16:09:42Z","updated_at":"2016-01-21T16:09:42Z","body":"AFAIK `flock` is implemented on all Perl ports other than VMS, RISC OS and VOS, so I think we're probably fine."}}