{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/7","id":102629536,"html_url":"https://github.com/douglascraigschmidt/LiveLessons/pull/7","diff_url":"https://github.com/douglascraigschmidt/LiveLessons/pull/7.diff","patch_url":"https://github.com/douglascraigschmidt/LiveLessons/pull/7.patch","issue_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/issues/7","number":7,"state":"open","locked":false,"title":"Change sleep time for main thread before interrupting thr to 2 seconds","user":{"login":"sankalpbhatia","id":6223785,"avatar_url":"https://avatars.githubusercontent.com/u/6223785?v=3","gravatar_id":"","url":"https://api.github.com/users/sankalpbhatia","html_url":"https://github.com/sankalpbhatia","followers_url":"https://api.github.com/users/sankalpbhatia/followers","following_url":"https://api.github.com/users/sankalpbhatia/following{/other_user}","gists_url":"https://api.github.com/users/sankalpbhatia/gists{/gist_id}","starred_url":"https://api.github.com/users/sankalpbhatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sankalpbhatia/subscriptions","organizations_url":"https://api.github.com/users/sankalpbhatia/orgs","repos_url":"https://api.github.com/users/sankalpbhatia/repos","events_url":"https://api.github.com/users/sankalpbhatia/events{/privacy}","received_events_url":"https://api.github.com/users/sankalpbhatia/received_events","type":"User","site_admin":false},"body":"Hi, \r\nI noticed that the sleep time in the main thread of this project allows enough time for the iterations to complete and hence the other thread terminates before getting interrupted. \r\nI noticed this in my machine and also on the demo of one of the videos of the LiveLessons training.\r\nThe video name is \" Understand the Java Thread lifecycle and how to manage it effectively\" from Java Concurrency LiveLessons video training. \r\nThis is probably nitpicking but i thought it would be much better if the program runs correctly every time.\r\n\r\nRegards,\r\nSankalp","created_at":"2017-01-22T18:03:15Z","updated_at":"2017-01-22T18:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/7/commits","review_comments_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/7/comments","review_comment_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/issues/7/comments","statuses_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/statuses/40cc825cd9671dd072ff10527ff9621a7e608fd4","head":{"label":"sankalpbhatia:master","ref":"master","sha":"40cc825cd9671dd072ff10527ff9621a7e608fd4","user":{"login":"sankalpbhatia","id":6223785,"avatar_url":"https://avatars.githubusercontent.com/u/6223785?v=3","gravatar_id":"","url":"https://api.github.com/users/sankalpbhatia","html_url":"https://github.com/sankalpbhatia","followers_url":"https://api.github.com/users/sankalpbhatia/followers","following_url":"https://api.github.com/users/sankalpbhatia/following{/other_user}","gists_url":"https://api.github.com/users/sankalpbhatia/gists{/gist_id}","starred_url":"https://api.github.com/users/sankalpbhatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sankalpbhatia/subscriptions","organizations_url":"https://api.github.com/users/sankalpbhatia/orgs","repos_url":"https://api.github.com/users/sankalpbhatia/repos","events_url":"https://api.github.com/users/sankalpbhatia/events{/privacy}","received_events_url":"https://api.github.com/users/sankalpbhatia/received_events","type":"User","site_admin":false},"repo":{"id":79733501,"name":"LiveLessons","full_name":"sankalpbhatia/LiveLessons","owner":{"login":"sankalpbhatia","id":6223785,"avatar_url":"https://avatars.githubusercontent.com/u/6223785?v=3","gravatar_id":"","url":"https://api.github.com/users/sankalpbhatia","html_url":"https://github.com/sankalpbhatia","followers_url":"https://api.github.com/users/sankalpbhatia/followers","following_url":"https://api.github.com/users/sankalpbhatia/following{/other_user}","gists_url":"https://api.github.com/users/sankalpbhatia/gists{/gist_id}","starred_url":"https://api.github.com/users/sankalpbhatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sankalpbhatia/subscriptions","organizations_url":"https://api.github.com/users/sankalpbhatia/orgs","repos_url":"https://api.github.com/users/sankalpbhatia/repos","events_url":"https://api.github.com/users/sankalpbhatia/events{/privacy}","received_events_url":"https://api.github.com/users/sankalpbhatia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sankalpbhatia/LiveLessons","description":"This repository contains all the source code examples from my LiveLessons course on \"Concurrent Programming with Android\"","fork":true,"url":"https://api.github.com/repos/sankalpbhatia/LiveLessons","forks_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/forks","keys_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/teams","hooks_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/hooks","issue_events_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/issues/events{/number}","events_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/events","assignees_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/assignees{/user}","branches_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/branches{/branch}","tags_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/tags","blobs_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/git/refs{/sha}","trees_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/statuses/{sha}","languages_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/languages","stargazers_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/stargazers","contributors_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/contributors","subscribers_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/subscribers","subscription_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/subscription","commits_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/commits{/sha}","git_commits_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/git/commits{/sha}","comments_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/comments{/number}","issue_comment_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/issues/comments{/number}","contents_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/contents/{+path}","compare_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/merges","archive_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/downloads","issues_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/issues{/number}","pulls_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/pulls{/number}","milestones_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/milestones{/number}","notifications_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/labels{/name}","releases_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/releases{/id}","deployments_url":"https://api.github.com/repos/sankalpbhatia/LiveLessons/deployments","created_at":"2017-01-22T17:37:36Z","updated_at":"2017-01-22T17:37:39Z","pushed_at":"2017-01-22T17:50:25Z","git_url":"git://github.com/sankalpbhatia/LiveLessons.git","ssh_url":"git@github.com:sankalpbhatia/LiveLessons.git","clone_url":"https://github.com/sankalpbhatia/LiveLessons.git","svn_url":"https://github.com/sankalpbhatia/LiveLessons","homepage":null,"size":4128,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"douglascraigschmidt:master","ref":"master","sha":"f064e7d9abe140ee00cc53269e83e6d5926e6223","user":{"login":"douglascraigschmidt","id":6556567,"avatar_url":"https://avatars.githubusercontent.com/u/6556567?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascraigschmidt","html_url":"https://github.com/douglascraigschmidt","followers_url":"https://api.github.com/users/douglascraigschmidt/followers","following_url":"https://api.github.com/users/douglascraigschmidt/following{/other_user}","gists_url":"https://api.github.com/users/douglascraigschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascraigschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascraigschmidt/subscriptions","organizations_url":"https://api.github.com/users/douglascraigschmidt/orgs","repos_url":"https://api.github.com/users/douglascraigschmidt/repos","events_url":"https://api.github.com/users/douglascraigschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/douglascraigschmidt/received_events","type":"User","site_admin":false},"repo":{"id":21949817,"name":"LiveLessons","full_name":"douglascraigschmidt/LiveLessons","owner":{"login":"douglascraigschmidt","id":6556567,"avatar_url":"https://avatars.githubusercontent.com/u/6556567?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascraigschmidt","html_url":"https://github.com/douglascraigschmidt","followers_url":"https://api.github.com/users/douglascraigschmidt/followers","following_url":"https://api.github.com/users/douglascraigschmidt/following{/other_user}","gists_url":"https://api.github.com/users/douglascraigschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascraigschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascraigschmidt/subscriptions","organizations_url":"https://api.github.com/users/douglascraigschmidt/orgs","repos_url":"https://api.github.com/users/douglascraigschmidt/repos","events_url":"https://api.github.com/users/douglascraigschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/douglascraigschmidt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/douglascraigschmidt/LiveLessons","description":"This repository contains all the source code examples from my LiveLessons course on \"Concurrent Programming with Android\"","fork":false,"url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons","forks_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/forks","keys_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/teams","hooks_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/hooks","issue_events_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/issues/events{/number}","events_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/events","assignees_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/assignees{/user}","branches_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/branches{/branch}","tags_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/tags","blobs_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/git/refs{/sha}","trees_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/statuses/{sha}","languages_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/languages","stargazers_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/stargazers","contributors_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/contributors","subscribers_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/subscribers","subscription_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/subscription","commits_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/commits{/sha}","git_commits_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/git/commits{/sha}","comments_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/comments{/number}","issue_comment_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/issues/comments{/number}","contents_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/contents/{+path}","compare_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/merges","archive_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/downloads","issues_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/issues{/number}","pulls_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls{/number}","milestones_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/milestones{/number}","notifications_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/labels{/name}","releases_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/releases{/id}","deployments_url":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/deployments","created_at":"2014-07-17T16:46:47Z","updated_at":"2017-01-19T22:37:23Z","pushed_at":"2017-01-19T03:20:13Z","git_url":"git://github.com/douglascraigschmidt/LiveLessons.git","ssh_url":"git@github.com:douglascraigschmidt/LiveLessons.git","clone_url":"https://github.com/douglascraigschmidt/LiveLessons.git","svn_url":"https://github.com/douglascraigschmidt/LiveLessons","homepage":null,"size":4128,"stargazers_count":113,"watchers_count":113,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":224,"mirror_url":null,"open_issues_count":3,"forks":224,"open_issues":3,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/7"},"html":{"href":"https://github.com/douglascraigschmidt/LiveLessons/pull/7"},"issue":{"href":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/issues/7"},"comments":{"href":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/douglascraigschmidt/LiveLessons/statuses/40cc825cd9671dd072ff10527ff9621a7e608fd4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"sankalpbhatia"}}