{"action":"closed","number":67,"pull_request":{"url":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/67","id":31357615,"html_url":"https://github.com/kripken/emscripten-fastcomp/pull/67","diff_url":"https://github.com/kripken/emscripten-fastcomp/pull/67.diff","patch_url":"https://github.com/kripken/emscripten-fastcomp/pull/67.patch","issue_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/issues/67","number":67,"state":"closed","locked":false,"title":"Pthreads","user":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"body":"Adds LLVM side support for compiling for the pthreads/atomics support.\r\n\r\nThis set of commits implements initial pthreads library support for Emscripten code, and allows native code to utilize multithreading with the pthreads API. This backs on experimental research on the JavaScript SharedArrayBuffer and Atomics APIs from https://docs.google.com/document/d/1NDGA_gZJ7M7w1Bh8S0AoDyEqwDdRh4uSoTPSNn77PFk/edit?usp=sharing , and as such is preliminary and unsupported in other browsers except current Firefox Nightly builds. By default pthreads support is disabled, and the feature must be explicitly enabled by specifying the compiler flag -s USE_PTHREADS=1 and the linker flag -lpthread.","created_at":"2015-03-17T17:24:47Z","updated_at":"2015-06-03T00:09:06Z","closed_at":"2015-06-03T00:09:06Z","merged_at":"2015-06-03T00:09:06Z","merge_commit_sha":"5eebd62702fd1aca10390ca96dfe93c210a6f63c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/67/commits","review_comments_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/67/comments","review_comment_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/issues/67/comments","statuses_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/statuses/63bf6b63bbb0b5eccda29de937610cfffc526a2f","head":{"label":"juj:pthreads","ref":"pthreads","sha":"63bf6b63bbb0b5eccda29de937610cfffc526a2f","user":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"repo":{"id":15361866,"name":"emscripten-fastcomp","full_name":"juj/emscripten-fastcomp","owner":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juj/emscripten-fastcomp","description":"","fork":true,"url":"https://api.github.com/repos/juj/emscripten-fastcomp","forks_url":"https://api.github.com/repos/juj/emscripten-fastcomp/forks","keys_url":"https://api.github.com/repos/juj/emscripten-fastcomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juj/emscripten-fastcomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juj/emscripten-fastcomp/teams","hooks_url":"https://api.github.com/repos/juj/emscripten-fastcomp/hooks","issue_events_url":"https://api.github.com/repos/juj/emscripten-fastcomp/issues/events{/number}","events_url":"https://api.github.com/repos/juj/emscripten-fastcomp/events","assignees_url":"https://api.github.com/repos/juj/emscripten-fastcomp/assignees{/user}","branches_url":"https://api.github.com/repos/juj/emscripten-fastcomp/branches{/branch}","tags_url":"https://api.github.com/repos/juj/emscripten-fastcomp/tags","blobs_url":"https://api.github.com/repos/juj/emscripten-fastcomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juj/emscripten-fastcomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juj/emscripten-fastcomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/juj/emscripten-fastcomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juj/emscripten-fastcomp/statuses/{sha}","languages_url":"https://api.github.com/repos/juj/emscripten-fastcomp/languages","stargazers_url":"https://api.github.com/repos/juj/emscripten-fastcomp/stargazers","contributors_url":"https://api.github.com/repos/juj/emscripten-fastcomp/contributors","subscribers_url":"https://api.github.com/repos/juj/emscripten-fastcomp/subscribers","subscription_url":"https://api.github.com/repos/juj/emscripten-fastcomp/subscription","commits_url":"https://api.github.com/repos/juj/emscripten-fastcomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/juj/emscripten-fastcomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/juj/emscripten-fastcomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/juj/emscripten-fastcomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/juj/emscripten-fastcomp/contents/{+path}","compare_url":"https://api.github.com/repos/juj/emscripten-fastcomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juj/emscripten-fastcomp/merges","archive_url":"https://api.github.com/repos/juj/emscripten-fastcomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juj/emscripten-fastcomp/downloads","issues_url":"https://api.github.com/repos/juj/emscripten-fastcomp/issues{/number}","pulls_url":"https://api.github.com/repos/juj/emscripten-fastcomp/pulls{/number}","milestones_url":"https://api.github.com/repos/juj/emscripten-fastcomp/milestones{/number}","notifications_url":"https://api.github.com/repos/juj/emscripten-fastcomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juj/emscripten-fastcomp/labels{/name}","releases_url":"https://api.github.com/repos/juj/emscripten-fastcomp/releases{/id}","created_at":"2013-12-21T16:27:08Z","updated_at":"2014-01-28T08:59:55Z","pushed_at":"2015-06-01T20:22:57Z","git_url":"git://github.com/juj/emscripten-fastcomp.git","ssh_url":"git@github.com:juj/emscripten-fastcomp.git","clone_url":"https://github.com/juj/emscripten-fastcomp.git","svn_url":"https://github.com/juj/emscripten-fastcomp","homepage":null,"size":194139,"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":"kripken:incoming","ref":"incoming","sha":"e2939f6878307899c17d1a23f51ba3fe5afbe6af","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"repo":{"id":14601190,"name":"emscripten-fastcomp","full_name":"kripken/emscripten-fastcomp","owner":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kripken/emscripten-fastcomp","description":"emscripten llvm","fork":false,"url":"https://api.github.com/repos/kripken/emscripten-fastcomp","forks_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/forks","keys_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/teams","hooks_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/hooks","issue_events_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/issues/events{/number}","events_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/events","assignees_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/assignees{/user}","branches_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/branches{/branch}","tags_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/tags","blobs_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/statuses/{sha}","languages_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/languages","stargazers_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/stargazers","contributors_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/contributors","subscribers_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/subscribers","subscription_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/subscription","commits_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/contents/{+path}","compare_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/merges","archive_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/downloads","issues_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/issues{/number}","pulls_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls{/number}","milestones_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/milestones{/number}","notifications_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/labels{/name}","releases_url":"https://api.github.com/repos/kripken/emscripten-fastcomp/releases{/id}","created_at":"2013-11-21T21:54:33Z","updated_at":"2015-06-01T02:53:16Z","pushed_at":"2015-06-03T00:09:06Z","git_url":"git://github.com/kripken/emscripten-fastcomp.git","ssh_url":"git@github.com:kripken/emscripten-fastcomp.git","clone_url":"https://github.com/kripken/emscripten-fastcomp.git","svn_url":"https://github.com/kripken/emscripten-fastcomp","homepage":"","size":232743,"stargazers_count":45,"watchers_count":45,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":12,"forks":36,"open_issues":12,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/67"},"html":{"href":"https://github.com/kripken/emscripten-fastcomp/pull/67"},"issue":{"href":"https://api.github.com/repos/kripken/emscripten-fastcomp/issues/67"},"comments":{"href":"https://api.github.com/repos/kripken/emscripten-fastcomp/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kripken/emscripten-fastcomp/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/kripken/emscripten-fastcomp/statuses/63bf6b63bbb0b5eccda29de937610cfffc526a2f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"comments":5,"review_comments":46,"commits":31,"additions":471,"deletions":67,"changed_files":3}}