{"action":"opened","number":72,"pull_request":{"url":"https://api.github.com/repos/wahern/cqueues/pulls/72","id":37976628,"html_url":"https://github.com/wahern/cqueues/pull/72","diff_url":"https://github.com/wahern/cqueues/pull/72.diff","patch_url":"https://github.com/wahern/cqueues/pull/72.patch","issue_url":"https://api.github.com/repos/wahern/cqueues/issues/72","number":72,"state":"open","locked":false,"title":":fill hangs","user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"body":"`:fill` can hang waiting for data\r\n\r\n```lua\r\nlocal cs = require \"cqueues.socket\"\r\nlocal a, b = cs.pair()\r\nassert(a:write(\"test\"))\r\na:flush()\r\nprint(\"Wrote\\nFilling.\")\r\nassert(b:fill(4))\r\nprint(\"Reading\")\r\nassert(b:read(4))\r\n```","created_at":"2015-06-18T06:59:19Z","updated_at":"2015-06-18T06:59:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4dcb37152fe7295ee9a9467fcd795439039a5f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wahern/cqueues/pulls/72/commits","review_comments_url":"https://api.github.com/repos/wahern/cqueues/pulls/72/comments","review_comment_url":"https://api.github.com/repos/wahern/cqueues/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wahern/cqueues/issues/72/comments","statuses_url":"https://api.github.com/repos/wahern/cqueues/statuses/ce8d933e3e5567787a6d379995f67d69a4f2a8de","head":{"label":"daurnimator:72-fill-hangs","ref":"72-fill-hangs","sha":"ce8d933e3e5567787a6d379995f67d69a4f2a8de","user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"repo":{"id":28144267,"name":"cqueues","full_name":"daurnimator/cqueues","owner":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daurnimator/cqueues","description":"Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.","fork":true,"url":"https://api.github.com/repos/daurnimator/cqueues","forks_url":"https://api.github.com/repos/daurnimator/cqueues/forks","keys_url":"https://api.github.com/repos/daurnimator/cqueues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daurnimator/cqueues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daurnimator/cqueues/teams","hooks_url":"https://api.github.com/repos/daurnimator/cqueues/hooks","issue_events_url":"https://api.github.com/repos/daurnimator/cqueues/issues/events{/number}","events_url":"https://api.github.com/repos/daurnimator/cqueues/events","assignees_url":"https://api.github.com/repos/daurnimator/cqueues/assignees{/user}","branches_url":"https://api.github.com/repos/daurnimator/cqueues/branches{/branch}","tags_url":"https://api.github.com/repos/daurnimator/cqueues/tags","blobs_url":"https://api.github.com/repos/daurnimator/cqueues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daurnimator/cqueues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daurnimator/cqueues/git/refs{/sha}","trees_url":"https://api.github.com/repos/daurnimator/cqueues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daurnimator/cqueues/statuses/{sha}","languages_url":"https://api.github.com/repos/daurnimator/cqueues/languages","stargazers_url":"https://api.github.com/repos/daurnimator/cqueues/stargazers","contributors_url":"https://api.github.com/repos/daurnimator/cqueues/contributors","subscribers_url":"https://api.github.com/repos/daurnimator/cqueues/subscribers","subscription_url":"https://api.github.com/repos/daurnimator/cqueues/subscription","commits_url":"https://api.github.com/repos/daurnimator/cqueues/commits{/sha}","git_commits_url":"https://api.github.com/repos/daurnimator/cqueues/git/commits{/sha}","comments_url":"https://api.github.com/repos/daurnimator/cqueues/comments{/number}","issue_comment_url":"https://api.github.com/repos/daurnimator/cqueues/issues/comments{/number}","contents_url":"https://api.github.com/repos/daurnimator/cqueues/contents/{+path}","compare_url":"https://api.github.com/repos/daurnimator/cqueues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daurnimator/cqueues/merges","archive_url":"https://api.github.com/repos/daurnimator/cqueues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daurnimator/cqueues/downloads","issues_url":"https://api.github.com/repos/daurnimator/cqueues/issues{/number}","pulls_url":"https://api.github.com/repos/daurnimator/cqueues/pulls{/number}","milestones_url":"https://api.github.com/repos/daurnimator/cqueues/milestones{/number}","notifications_url":"https://api.github.com/repos/daurnimator/cqueues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daurnimator/cqueues/labels{/name}","releases_url":"https://api.github.com/repos/daurnimator/cqueues/releases{/id}","created_at":"2014-12-17T16:01:28Z","updated_at":"2015-03-11T22:41:51Z","pushed_at":"2015-06-18T06:59:13Z","git_url":"git://github.com/daurnimator/cqueues.git","ssh_url":"git@github.com:daurnimator/cqueues.git","clone_url":"https://github.com/daurnimator/cqueues.git","svn_url":"https://github.com/daurnimator/cqueues","homepage":"http://25thandclement.com/~william/projects/cqueues.html","size":2458,"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":"wahern:master","ref":"master","sha":"e6162dc256b763be5bf2a878ab630f88dd7579c3","user":{"login":"wahern","id":6007976,"avatar_url":"https://avatars.githubusercontent.com/u/6007976?v=3","gravatar_id":"","url":"https://api.github.com/users/wahern","html_url":"https://github.com/wahern","followers_url":"https://api.github.com/users/wahern/followers","following_url":"https://api.github.com/users/wahern/following{/other_user}","gists_url":"https://api.github.com/users/wahern/gists{/gist_id}","starred_url":"https://api.github.com/users/wahern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wahern/subscriptions","organizations_url":"https://api.github.com/users/wahern/orgs","repos_url":"https://api.github.com/users/wahern/repos","events_url":"https://api.github.com/users/wahern/events{/privacy}","received_events_url":"https://api.github.com/users/wahern/received_events","type":"User","site_admin":false},"repo":{"id":15096127,"name":"cqueues","full_name":"wahern/cqueues","owner":{"login":"wahern","id":6007976,"avatar_url":"https://avatars.githubusercontent.com/u/6007976?v=3","gravatar_id":"","url":"https://api.github.com/users/wahern","html_url":"https://github.com/wahern","followers_url":"https://api.github.com/users/wahern/followers","following_url":"https://api.github.com/users/wahern/following{/other_user}","gists_url":"https://api.github.com/users/wahern/gists{/gist_id}","starred_url":"https://api.github.com/users/wahern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wahern/subscriptions","organizations_url":"https://api.github.com/users/wahern/orgs","repos_url":"https://api.github.com/users/wahern/repos","events_url":"https://api.github.com/users/wahern/events{/privacy}","received_events_url":"https://api.github.com/users/wahern/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wahern/cqueues","description":"Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.","fork":false,"url":"https://api.github.com/repos/wahern/cqueues","forks_url":"https://api.github.com/repos/wahern/cqueues/forks","keys_url":"https://api.github.com/repos/wahern/cqueues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wahern/cqueues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wahern/cqueues/teams","hooks_url":"https://api.github.com/repos/wahern/cqueues/hooks","issue_events_url":"https://api.github.com/repos/wahern/cqueues/issues/events{/number}","events_url":"https://api.github.com/repos/wahern/cqueues/events","assignees_url":"https://api.github.com/repos/wahern/cqueues/assignees{/user}","branches_url":"https://api.github.com/repos/wahern/cqueues/branches{/branch}","tags_url":"https://api.github.com/repos/wahern/cqueues/tags","blobs_url":"https://api.github.com/repos/wahern/cqueues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wahern/cqueues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wahern/cqueues/git/refs{/sha}","trees_url":"https://api.github.com/repos/wahern/cqueues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wahern/cqueues/statuses/{sha}","languages_url":"https://api.github.com/repos/wahern/cqueues/languages","stargazers_url":"https://api.github.com/repos/wahern/cqueues/stargazers","contributors_url":"https://api.github.com/repos/wahern/cqueues/contributors","subscribers_url":"https://api.github.com/repos/wahern/cqueues/subscribers","subscription_url":"https://api.github.com/repos/wahern/cqueues/subscription","commits_url":"https://api.github.com/repos/wahern/cqueues/commits{/sha}","git_commits_url":"https://api.github.com/repos/wahern/cqueues/git/commits{/sha}","comments_url":"https://api.github.com/repos/wahern/cqueues/comments{/number}","issue_comment_url":"https://api.github.com/repos/wahern/cqueues/issues/comments{/number}","contents_url":"https://api.github.com/repos/wahern/cqueues/contents/{+path}","compare_url":"https://api.github.com/repos/wahern/cqueues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wahern/cqueues/merges","archive_url":"https://api.github.com/repos/wahern/cqueues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wahern/cqueues/downloads","issues_url":"https://api.github.com/repos/wahern/cqueues/issues{/number}","pulls_url":"https://api.github.com/repos/wahern/cqueues/pulls{/number}","milestones_url":"https://api.github.com/repos/wahern/cqueues/milestones{/number}","notifications_url":"https://api.github.com/repos/wahern/cqueues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wahern/cqueues/labels{/name}","releases_url":"https://api.github.com/repos/wahern/cqueues/releases{/id}","created_at":"2013-12-11T02:38:57Z","updated_at":"2015-06-15T14:04:13Z","pushed_at":"2015-06-18T06:59:19Z","git_url":"git://github.com/wahern/cqueues.git","ssh_url":"git@github.com:wahern/cqueues.git","clone_url":"https://github.com/wahern/cqueues.git","svn_url":"https://github.com/wahern/cqueues","homepage":"http://25thandclement.com/~william/projects/cqueues.html","size":3018,"stargazers_count":30,"watchers_count":30,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":46,"forks":2,"open_issues":46,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wahern/cqueues/pulls/72"},"html":{"href":"https://github.com/wahern/cqueues/pull/72"},"issue":{"href":"https://api.github.com/repos/wahern/cqueues/issues/72"},"comments":{"href":"https://api.github.com/repos/wahern/cqueues/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/wahern/cqueues/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/wahern/cqueues/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wahern/cqueues/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/wahern/cqueues/statuses/ce8d933e3e5567787a6d379995f67d69a4f2a8de"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":14,"changed_files":1}}