{"action":"created","issue":{"url":"https://api.github.com/repos/swift-nav/libsbp/issues/121","labels_url":"https://api.github.com/repos/swift-nav/libsbp/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/swift-nav/libsbp/issues/121/comments","events_url":"https://api.github.com/repos/swift-nav/libsbp/issues/121/events","html_url":"https://github.com/swift-nav/libsbp/pull/121","id":68985783,"number":121,"title":"Make the handler test more robust","user":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-16T18:44:19Z","updated_at":"2015-04-16T18:44:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swift-nav/libsbp/pulls/121","html_url":"https://github.com/swift-nav/libsbp/pull/121","diff_url":"https://github.com/swift-nav/libsbp/pull/121.diff","patch_url":"https://github.com/swift-nav/libsbp/pull/121.patch"},"body":"Use semaphores to track progress and avoid race conditions:\r\n\r\n1. start the thread, which constantly calls release\r\n2. spin until we can acquire the lock (ensure thread is active)\r\n3. stop the thread\r\n4. spin until we can't acquire the lock (ensure thread is dead)\r\n\r\n/cc @fnoble @mookerji \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swift-nav/libsbp/issues/comments/93811958","html_url":"https://github.com/swift-nav/libsbp/pull/121#issuecomment-93811958","issue_url":"https://api.github.com/repos/swift-nav/libsbp/issues/121","id":93811958,"user":{"login":"swiftnav-jenkins","id":6731546,"avatar_url":"https://avatars.githubusercontent.com/u/6731546?v=3","gravatar_id":"","url":"https://api.github.com/users/swiftnav-jenkins","html_url":"https://github.com/swiftnav-jenkins","followers_url":"https://api.github.com/users/swiftnav-jenkins/followers","following_url":"https://api.github.com/users/swiftnav-jenkins/following{/other_user}","gists_url":"https://api.github.com/users/swiftnav-jenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/swiftnav-jenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiftnav-jenkins/subscriptions","organizations_url":"https://api.github.com/users/swiftnav-jenkins/orgs","repos_url":"https://api.github.com/users/swiftnav-jenkins/repos","events_url":"https://api.github.com/users/swiftnav-jenkins/events{/privacy}","received_events_url":"https://api.github.com/users/swiftnav-jenkins/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T18:44:44Z","updated_at":"2015-04-16T18:44:44Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttp://zazu.ci.swiftnav.com/job/libsbp_Pull_Requests/50/\nTest PASSed."}}