{"action":"closed","number":55,"pull_request":{"url":"https://api.github.com/repos/Tencent/libco/pulls/55","id":141524010,"html_url":"https://github.com/Tencent/libco/pull/55","diff_url":"https://github.com/Tencent/libco/pull/55.diff","patch_url":"https://github.com/Tencent/libco/pull/55.patch","issue_url":"https://api.github.com/repos/Tencent/libco/issues/55","number":55,"state":"closed","locked":false,"title":"Fixes deprecated syscall issue on macOS 10.12","user":{"login":"Lustres","id":10811414,"avatar_url":"https://avatars0.githubusercontent.com/u/10811414?v=4","gravatar_id":"","url":"https://api.github.com/users/Lustres","html_url":"https://github.com/Lustres","followers_url":"https://api.github.com/users/Lustres/followers","following_url":"https://api.github.com/users/Lustres/following{/other_user}","gists_url":"https://api.github.com/users/Lustres/gists{/gist_id}","starred_url":"https://api.github.com/users/Lustres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lustres/subscriptions","organizations_url":"https://api.github.com/users/Lustres/orgs","repos_url":"https://api.github.com/users/Lustres/repos","events_url":"https://api.github.com/users/Lustres/events{/privacy}","received_events_url":"https://api.github.com/users/Lustres/received_events","type":"User","site_admin":false},"body":"syscall() has been deprecated and is not available on macOS 10.12.\r\n\r\nThere are two ways to get unique thread ID after 10.12:\r\n\r\n`pthread_threadid_np(NULL, &tid64)`\r\n`pthread_mach_thread_np(pthread_self())`\r\n\r\nThe first one gets an ID which might be larger than 204800 in g_arrCoEnvPerThread.\r\nAnd the second one is safer cause mach_port_t is quit small actually.","created_at":"2017-09-18T05:05:50Z","updated_at":"2017-09-18T05:18:12Z","closed_at":"2017-09-18T05:18:12Z","merged_at":null,"merge_commit_sha":"e711e79f7f12a44bd5385ffb81bdeb5392dc8e0b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tencent/libco/pulls/55/commits","review_comments_url":"https://api.github.com/repos/Tencent/libco/pulls/55/comments","review_comment_url":"https://api.github.com/repos/Tencent/libco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tencent/libco/issues/55/comments","statuses_url":"https://api.github.com/repos/Tencent/libco/statuses/8f42f8b1cf5490db2b123bfd09745ab54b2193b0","head":{"label":"Lustres:syscall_patch","ref":"syscall_patch","sha":"8f42f8b1cf5490db2b123bfd09745ab54b2193b0","user":{"login":"Lustres","id":10811414,"avatar_url":"https://avatars0.githubusercontent.com/u/10811414?v=4","gravatar_id":"","url":"https://api.github.com/users/Lustres","html_url":"https://github.com/Lustres","followers_url":"https://api.github.com/users/Lustres/followers","following_url":"https://api.github.com/users/Lustres/following{/other_user}","gists_url":"https://api.github.com/users/Lustres/gists{/gist_id}","starred_url":"https://api.github.com/users/Lustres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lustres/subscriptions","organizations_url":"https://api.github.com/users/Lustres/orgs","repos_url":"https://api.github.com/users/Lustres/repos","events_url":"https://api.github.com/users/Lustres/events{/privacy}","received_events_url":"https://api.github.com/users/Lustres/received_events","type":"User","site_admin":false},"repo":{"id":103883376,"name":"libco","full_name":"Lustres/libco","owner":{"login":"Lustres","id":10811414,"avatar_url":"https://avatars0.githubusercontent.com/u/10811414?v=4","gravatar_id":"","url":"https://api.github.com/users/Lustres","html_url":"https://github.com/Lustres","followers_url":"https://api.github.com/users/Lustres/followers","following_url":"https://api.github.com/users/Lustres/following{/other_user}","gists_url":"https://api.github.com/users/Lustres/gists{/gist_id}","starred_url":"https://api.github.com/users/Lustres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lustres/subscriptions","organizations_url":"https://api.github.com/users/Lustres/orgs","repos_url":"https://api.github.com/users/Lustres/repos","events_url":"https://api.github.com/users/Lustres/events{/privacy}","received_events_url":"https://api.github.com/users/Lustres/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lustres/libco","description":"libco is a coroutine library which is widely used in wechat  back-end service. It has been running on tens of thousands of machines since 2013.","fork":true,"url":"https://api.github.com/repos/Lustres/libco","forks_url":"https://api.github.com/repos/Lustres/libco/forks","keys_url":"https://api.github.com/repos/Lustres/libco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lustres/libco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lustres/libco/teams","hooks_url":"https://api.github.com/repos/Lustres/libco/hooks","issue_events_url":"https://api.github.com/repos/Lustres/libco/issues/events{/number}","events_url":"https://api.github.com/repos/Lustres/libco/events","assignees_url":"https://api.github.com/repos/Lustres/libco/assignees{/user}","branches_url":"https://api.github.com/repos/Lustres/libco/branches{/branch}","tags_url":"https://api.github.com/repos/Lustres/libco/tags","blobs_url":"https://api.github.com/repos/Lustres/libco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lustres/libco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lustres/libco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lustres/libco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lustres/libco/statuses/{sha}","languages_url":"https://api.github.com/repos/Lustres/libco/languages","stargazers_url":"https://api.github.com/repos/Lustres/libco/stargazers","contributors_url":"https://api.github.com/repos/Lustres/libco/contributors","subscribers_url":"https://api.github.com/repos/Lustres/libco/subscribers","subscription_url":"https://api.github.com/repos/Lustres/libco/subscription","commits_url":"https://api.github.com/repos/Lustres/libco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lustres/libco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lustres/libco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lustres/libco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lustres/libco/contents/{+path}","compare_url":"https://api.github.com/repos/Lustres/libco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lustres/libco/merges","archive_url":"https://api.github.com/repos/Lustres/libco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lustres/libco/downloads","issues_url":"https://api.github.com/repos/Lustres/libco/issues{/number}","pulls_url":"https://api.github.com/repos/Lustres/libco/pulls{/number}","milestones_url":"https://api.github.com/repos/Lustres/libco/milestones{/number}","notifications_url":"https://api.github.com/repos/Lustres/libco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lustres/libco/labels{/name}","releases_url":"https://api.github.com/repos/Lustres/libco/releases{/id}","deployments_url":"https://api.github.com/repos/Lustres/libco/deployments","created_at":"2017-09-18T02:47:45Z","updated_at":"2017-09-18T02:47:47Z","pushed_at":"2017-09-18T04:53:10Z","git_url":"git://github.com/Lustres/libco.git","ssh_url":"git@github.com:Lustres/libco.git","clone_url":"https://github.com/Lustres/libco.git","svn_url":"https://github.com/Lustres/libco","homepage":"","size":166,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"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":"Tencent:master","ref":"master","sha":"8ce6dfef26ccf6a1ecb55336dde18a6526f76666","user":{"login":"Tencent","id":18461506,"avatar_url":"https://avatars3.githubusercontent.com/u/18461506?v=4","gravatar_id":"","url":"https://api.github.com/users/Tencent","html_url":"https://github.com/Tencent","followers_url":"https://api.github.com/users/Tencent/followers","following_url":"https://api.github.com/users/Tencent/following{/other_user}","gists_url":"https://api.github.com/users/Tencent/gists{/gist_id}","starred_url":"https://api.github.com/users/Tencent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tencent/subscriptions","organizations_url":"https://api.github.com/users/Tencent/orgs","repos_url":"https://api.github.com/users/Tencent/repos","events_url":"https://api.github.com/users/Tencent/events{/privacy}","received_events_url":"https://api.github.com/users/Tencent/received_events","type":"Organization","site_admin":false},"repo":{"id":70655231,"name":"libco","full_name":"Tencent/libco","owner":{"login":"Tencent","id":18461506,"avatar_url":"https://avatars3.githubusercontent.com/u/18461506?v=4","gravatar_id":"","url":"https://api.github.com/users/Tencent","html_url":"https://github.com/Tencent","followers_url":"https://api.github.com/users/Tencent/followers","following_url":"https://api.github.com/users/Tencent/following{/other_user}","gists_url":"https://api.github.com/users/Tencent/gists{/gist_id}","starred_url":"https://api.github.com/users/Tencent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tencent/subscriptions","organizations_url":"https://api.github.com/users/Tencent/orgs","repos_url":"https://api.github.com/users/Tencent/repos","events_url":"https://api.github.com/users/Tencent/events{/privacy}","received_events_url":"https://api.github.com/users/Tencent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tencent/libco","description":"libco is a coroutine library which is widely used in wechat  back-end service. It has been running on tens of thousands of machines since 2013.","fork":false,"url":"https://api.github.com/repos/Tencent/libco","forks_url":"https://api.github.com/repos/Tencent/libco/forks","keys_url":"https://api.github.com/repos/Tencent/libco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tencent/libco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tencent/libco/teams","hooks_url":"https://api.github.com/repos/Tencent/libco/hooks","issue_events_url":"https://api.github.com/repos/Tencent/libco/issues/events{/number}","events_url":"https://api.github.com/repos/Tencent/libco/events","assignees_url":"https://api.github.com/repos/Tencent/libco/assignees{/user}","branches_url":"https://api.github.com/repos/Tencent/libco/branches{/branch}","tags_url":"https://api.github.com/repos/Tencent/libco/tags","blobs_url":"https://api.github.com/repos/Tencent/libco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tencent/libco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tencent/libco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tencent/libco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tencent/libco/statuses/{sha}","languages_url":"https://api.github.com/repos/Tencent/libco/languages","stargazers_url":"https://api.github.com/repos/Tencent/libco/stargazers","contributors_url":"https://api.github.com/repos/Tencent/libco/contributors","subscribers_url":"https://api.github.com/repos/Tencent/libco/subscribers","subscription_url":"https://api.github.com/repos/Tencent/libco/subscription","commits_url":"https://api.github.com/repos/Tencent/libco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tencent/libco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tencent/libco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tencent/libco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tencent/libco/contents/{+path}","compare_url":"https://api.github.com/repos/Tencent/libco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tencent/libco/merges","archive_url":"https://api.github.com/repos/Tencent/libco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tencent/libco/downloads","issues_url":"https://api.github.com/repos/Tencent/libco/issues{/number}","pulls_url":"https://api.github.com/repos/Tencent/libco/pulls{/number}","milestones_url":"https://api.github.com/repos/Tencent/libco/milestones{/number}","notifications_url":"https://api.github.com/repos/Tencent/libco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tencent/libco/labels{/name}","releases_url":"https://api.github.com/repos/Tencent/libco/releases{/id}","deployments_url":"https://api.github.com/repos/Tencent/libco/deployments","created_at":"2016-10-12T02:36:47Z","updated_at":"2017-09-18T03:29:20Z","pushed_at":"2017-09-18T05:05:51Z","git_url":"git://github.com/Tencent/libco.git","ssh_url":"git@github.com:Tencent/libco.git","clone_url":"https://github.com/Tencent/libco.git","svn_url":"https://github.com/Tencent/libco","homepage":"","size":165,"stargazers_count":2155,"watchers_count":2155,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":612,"mirror_url":null,"open_issues_count":26,"forks":612,"open_issues":26,"watchers":2155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tencent/libco/pulls/55"},"html":{"href":"https://github.com/Tencent/libco/pull/55"},"issue":{"href":"https://api.github.com/repos/Tencent/libco/issues/55"},"comments":{"href":"https://api.github.com/repos/Tencent/libco/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/Tencent/libco/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/Tencent/libco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tencent/libco/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/Tencent/libco/statuses/8f42f8b1cf5490db2b123bfd09745ab54b2193b0"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Lustres"}}