{"action":"closed","number":54,"pull_request":{"url":"https://api.github.com/repos/xicilion/fibjs/pulls/54","id":28195828,"html_url":"https://github.com/xicilion/fibjs/pull/54","diff_url":"https://github.com/xicilion/fibjs/pull/54.diff","patch_url":"https://github.com/xicilion/fibjs/pull/54.patch","issue_url":"https://api.github.com/repos/xicilion/fibjs/issues/54","number":54,"state":"closed","locked":false,"title":"减少空闲CPU占用和加快异步响应速度","user":{"login":"iwinmin","id":2025307,"avatar_url":"https://avatars.githubusercontent.com/u/2025307?v=3","gravatar_id":"","url":"https://api.github.com/users/iwinmin","html_url":"https://github.com/iwinmin","followers_url":"https://api.github.com/users/iwinmin/followers","following_url":"https://api.github.com/users/iwinmin/following{/other_user}","gists_url":"https://api.github.com/users/iwinmin/gists{/gist_id}","starred_url":"https://api.github.com/users/iwinmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwinmin/subscriptions","organizations_url":"https://api.github.com/users/iwinmin/orgs","repos_url":"https://api.github.com/users/iwinmin/repos","events_url":"https://api.github.com/users/iwinmin/events{/privacy}","received_events_url":"https://api.github.com/users/iwinmin/received_events","type":"User","site_admin":false},"body":"修改lockfree模板类,\r\n优先使用无锁变量检查是否有线程在等待信号, 实现在高负载时不会进入到操作系统锁流程, 拥有原先无锁的优势\r\n在程序完全空闲后, 进入操作系统锁状态, 挂起当前线程, 实现0系统CPU资源占用.","created_at":"2015-01-28T14:10:43Z","updated_at":"2015-01-29T14:18:31Z","closed_at":"2015-01-29T14:18:31Z","merged_at":null,"merge_commit_sha":"dae4b856a9c4bb104d3ea813d56713d66a5ceb55","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xicilion/fibjs/pulls/54/commits","review_comments_url":"https://api.github.com/repos/xicilion/fibjs/pulls/54/comments","review_comment_url":"https://api.github.com/repos/xicilion/fibjs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/xicilion/fibjs/issues/54/comments","statuses_url":"https://api.github.com/repos/xicilion/fibjs/statuses/0212f277f885db310a55f5af700bce39bdae8322","head":{"label":"iwinmin:master","ref":"master","sha":"0212f277f885db310a55f5af700bce39bdae8322","user":{"login":"iwinmin","id":2025307,"avatar_url":"https://avatars.githubusercontent.com/u/2025307?v=3","gravatar_id":"","url":"https://api.github.com/users/iwinmin","html_url":"https://github.com/iwinmin","followers_url":"https://api.github.com/users/iwinmin/followers","following_url":"https://api.github.com/users/iwinmin/following{/other_user}","gists_url":"https://api.github.com/users/iwinmin/gists{/gist_id}","starred_url":"https://api.github.com/users/iwinmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwinmin/subscriptions","organizations_url":"https://api.github.com/users/iwinmin/orgs","repos_url":"https://api.github.com/users/iwinmin/repos","events_url":"https://api.github.com/users/iwinmin/events{/privacy}","received_events_url":"https://api.github.com/users/iwinmin/received_events","type":"User","site_admin":false},"repo":{"id":22349122,"name":"fibjs","full_name":"iwinmin/fibjs","owner":{"login":"iwinmin","id":2025307,"avatar_url":"https://avatars.githubusercontent.com/u/2025307?v=3","gravatar_id":"","url":"https://api.github.com/users/iwinmin","html_url":"https://github.com/iwinmin","followers_url":"https://api.github.com/users/iwinmin/followers","following_url":"https://api.github.com/users/iwinmin/following{/other_user}","gists_url":"https://api.github.com/users/iwinmin/gists{/gist_id}","starred_url":"https://api.github.com/users/iwinmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwinmin/subscriptions","organizations_url":"https://api.github.com/users/iwinmin/orgs","repos_url":"https://api.github.com/users/iwinmin/repos","events_url":"https://api.github.com/users/iwinmin/events{/privacy}","received_events_url":"https://api.github.com/users/iwinmin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iwinmin/fibjs","description":"用同步代码抒发异步情怀","fork":true,"url":"https://api.github.com/repos/iwinmin/fibjs","forks_url":"https://api.github.com/repos/iwinmin/fibjs/forks","keys_url":"https://api.github.com/repos/iwinmin/fibjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iwinmin/fibjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iwinmin/fibjs/teams","hooks_url":"https://api.github.com/repos/iwinmin/fibjs/hooks","issue_events_url":"https://api.github.com/repos/iwinmin/fibjs/issues/events{/number}","events_url":"https://api.github.com/repos/iwinmin/fibjs/events","assignees_url":"https://api.github.com/repos/iwinmin/fibjs/assignees{/user}","branches_url":"https://api.github.com/repos/iwinmin/fibjs/branches{/branch}","tags_url":"https://api.github.com/repos/iwinmin/fibjs/tags","blobs_url":"https://api.github.com/repos/iwinmin/fibjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iwinmin/fibjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iwinmin/fibjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/iwinmin/fibjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iwinmin/fibjs/statuses/{sha}","languages_url":"https://api.github.com/repos/iwinmin/fibjs/languages","stargazers_url":"https://api.github.com/repos/iwinmin/fibjs/stargazers","contributors_url":"https://api.github.com/repos/iwinmin/fibjs/contributors","subscribers_url":"https://api.github.com/repos/iwinmin/fibjs/subscribers","subscription_url":"https://api.github.com/repos/iwinmin/fibjs/subscription","commits_url":"https://api.github.com/repos/iwinmin/fibjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/iwinmin/fibjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/iwinmin/fibjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/iwinmin/fibjs/issues/comments/{number}","contents_url":"https://api.github.com/repos/iwinmin/fibjs/contents/{+path}","compare_url":"https://api.github.com/repos/iwinmin/fibjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iwinmin/fibjs/merges","archive_url":"https://api.github.com/repos/iwinmin/fibjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iwinmin/fibjs/downloads","issues_url":"https://api.github.com/repos/iwinmin/fibjs/issues{/number}","pulls_url":"https://api.github.com/repos/iwinmin/fibjs/pulls{/number}","milestones_url":"https://api.github.com/repos/iwinmin/fibjs/milestones{/number}","notifications_url":"https://api.github.com/repos/iwinmin/fibjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iwinmin/fibjs/labels{/name}","releases_url":"https://api.github.com/repos/iwinmin/fibjs/releases{/id}","created_at":"2014-07-28T16:10:46Z","updated_at":"2015-01-28T14:07:46Z","pushed_at":"2015-01-28T14:07:45Z","git_url":"git://github.com/iwinmin/fibjs.git","ssh_url":"git@github.com:iwinmin/fibjs.git","clone_url":"https://github.com/iwinmin/fibjs.git","svn_url":"https://github.com/iwinmin/fibjs","homepage":null,"size":61494,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"xicilion:master","ref":"master","sha":"941535bb68574993caad4aa3fbb331a057522901","user":{"login":"xicilion","id":1694747,"avatar_url":"https://avatars.githubusercontent.com/u/1694747?v=3","gravatar_id":"","url":"https://api.github.com/users/xicilion","html_url":"https://github.com/xicilion","followers_url":"https://api.github.com/users/xicilion/followers","following_url":"https://api.github.com/users/xicilion/following{/other_user}","gists_url":"https://api.github.com/users/xicilion/gists{/gist_id}","starred_url":"https://api.github.com/users/xicilion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xicilion/subscriptions","organizations_url":"https://api.github.com/users/xicilion/orgs","repos_url":"https://api.github.com/users/xicilion/repos","events_url":"https://api.github.com/users/xicilion/events{/privacy}","received_events_url":"https://api.github.com/users/xicilion/received_events","type":"User","site_admin":false},"repo":{"id":19540706,"name":"fibjs","full_name":"xicilion/fibjs","owner":{"login":"xicilion","id":1694747,"avatar_url":"https://avatars.githubusercontent.com/u/1694747?v=3","gravatar_id":"","url":"https://api.github.com/users/xicilion","html_url":"https://github.com/xicilion","followers_url":"https://api.github.com/users/xicilion/followers","following_url":"https://api.github.com/users/xicilion/following{/other_user}","gists_url":"https://api.github.com/users/xicilion/gists{/gist_id}","starred_url":"https://api.github.com/users/xicilion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xicilion/subscriptions","organizations_url":"https://api.github.com/users/xicilion/orgs","repos_url":"https://api.github.com/users/xicilion/repos","events_url":"https://api.github.com/users/xicilion/events{/privacy}","received_events_url":"https://api.github.com/users/xicilion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xicilion/fibjs","description":"Javascript on Fiber","fork":false,"url":"https://api.github.com/repos/xicilion/fibjs","forks_url":"https://api.github.com/repos/xicilion/fibjs/forks","keys_url":"https://api.github.com/repos/xicilion/fibjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xicilion/fibjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xicilion/fibjs/teams","hooks_url":"https://api.github.com/repos/xicilion/fibjs/hooks","issue_events_url":"https://api.github.com/repos/xicilion/fibjs/issues/events{/number}","events_url":"https://api.github.com/repos/xicilion/fibjs/events","assignees_url":"https://api.github.com/repos/xicilion/fibjs/assignees{/user}","branches_url":"https://api.github.com/repos/xicilion/fibjs/branches{/branch}","tags_url":"https://api.github.com/repos/xicilion/fibjs/tags","blobs_url":"https://api.github.com/repos/xicilion/fibjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xicilion/fibjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xicilion/fibjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/xicilion/fibjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xicilion/fibjs/statuses/{sha}","languages_url":"https://api.github.com/repos/xicilion/fibjs/languages","stargazers_url":"https://api.github.com/repos/xicilion/fibjs/stargazers","contributors_url":"https://api.github.com/repos/xicilion/fibjs/contributors","subscribers_url":"https://api.github.com/repos/xicilion/fibjs/subscribers","subscription_url":"https://api.github.com/repos/xicilion/fibjs/subscription","commits_url":"https://api.github.com/repos/xicilion/fibjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/xicilion/fibjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/xicilion/fibjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/xicilion/fibjs/issues/comments/{number}","contents_url":"https://api.github.com/repos/xicilion/fibjs/contents/{+path}","compare_url":"https://api.github.com/repos/xicilion/fibjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xicilion/fibjs/merges","archive_url":"https://api.github.com/repos/xicilion/fibjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xicilion/fibjs/downloads","issues_url":"https://api.github.com/repos/xicilion/fibjs/issues{/number}","pulls_url":"https://api.github.com/repos/xicilion/fibjs/pulls{/number}","milestones_url":"https://api.github.com/repos/xicilion/fibjs/milestones{/number}","notifications_url":"https://api.github.com/repos/xicilion/fibjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xicilion/fibjs/labels{/name}","releases_url":"https://api.github.com/repos/xicilion/fibjs/releases{/id}","created_at":"2014-05-07T15:52:46Z","updated_at":"2015-01-28T06:04:54Z","pushed_at":"2015-01-22T02:51:40Z","git_url":"git://github.com/xicilion/fibjs.git","ssh_url":"git@github.com:xicilion/fibjs.git","clone_url":"https://github.com/xicilion/fibjs.git","svn_url":"https://github.com/xicilion/fibjs","homepage":"http://fibjs.org","size":65552,"stargazers_count":1281,"watchers_count":1281,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":184,"mirror_url":null,"open_issues_count":10,"forks":184,"open_issues":10,"watchers":1281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/54"},"html":{"href":"https://github.com/xicilion/fibjs/pull/54"},"issue":{"href":"https://api.github.com/repos/xicilion/fibjs/issues/54"},"comments":{"href":"https://api.github.com/repos/xicilion/fibjs/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/xicilion/fibjs/statuses/0212f277f885db310a55f5af700bce39bdae8322"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":57,"deletions":55,"changed_files":2}}