{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/design/issues/104","repository_url":"https://api.github.com/repos/WebAssembly/design","labels_url":"https://api.github.com/repos/WebAssembly/design/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/design/issues/104/comments","events_url":"https://api.github.com/repos/WebAssembly/design/issues/104/events","html_url":"https://github.com/WebAssembly/design/issues/104","id":84078963,"number":104,"title":"What are Web Assembly threads?","user":{"login":"jfbastien","id":298127,"avatar_url":"https://avatars.githubusercontent.com/u/298127?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbastien","html_url":"https://github.com/jfbastien","followers_url":"https://api.github.com/users/jfbastien/followers","following_url":"https://api.github.com/users/jfbastien/following{/other_user}","gists_url":"https://api.github.com/users/jfbastien/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbastien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbastien/subscriptions","organizations_url":"https://api.github.com/users/jfbastien/orgs","repos_url":"https://api.github.com/users/jfbastien/repos","events_url":"https://api.github.com/users/jfbastien/events{/privacy}","received_events_url":"https://api.github.com/users/jfbastien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/WebAssembly/design/milestones/3","html_url":"https://github.com/WebAssembly/design/milestones/Essential%20Post-MVP%20Features","labels_url":"https://api.github.com/repos/WebAssembly/design/milestones/3/labels","id":1138971,"number":3,"title":"Essential Post-MVP Features","description":"See [here](https://github.com/WebAssembly/design/blob/master/PostMVP.md) for details. Some issues related to PostMVP features are tagged MVP instead of PostMVP since we need to ensure that the MVP design properly anticipates them.","creator":{"login":"sunfishcode","id":4503403,"avatar_url":"https://avatars.githubusercontent.com/u/4503403?v=3","gravatar_id":"","url":"https://api.github.com/users/sunfishcode","html_url":"https://github.com/sunfishcode","followers_url":"https://api.github.com/users/sunfishcode/followers","following_url":"https://api.github.com/users/sunfishcode/following{/other_user}","gists_url":"https://api.github.com/users/sunfishcode/gists{/gist_id}","starred_url":"https://api.github.com/users/sunfishcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunfishcode/subscriptions","organizations_url":"https://api.github.com/users/sunfishcode/orgs","repos_url":"https://api.github.com/users/sunfishcode/repos","events_url":"https://api.github.com/users/sunfishcode/events{/privacy}","received_events_url":"https://api.github.com/users/sunfishcode/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-05-29T00:21:45Z","updated_at":"2016-07-25T22:04:45Z","due_on":null,"closed_at":null},"comments":40,"created_at":"2015-06-02T15:44:35Z","updated_at":"2016-09-23T15:20:09Z","closed_at":null,"body":"Are Web Assembly specified in terms of [WebWorkers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers), or are they different? What are the differences, or are WebWorkers just an implementation detail?\r\n\r\nMaybe the polyfill is OK with WebWorkers, and Web Assembly does its own thing that's closer to pthreads.\r\n\r\nWe need to ensure that Web Assembly can work outside of a browser."},"comment":{"url":"https://api.github.com/repos/WebAssembly/design/issues/comments/249221487","html_url":"https://github.com/WebAssembly/design/issues/104#issuecomment-249221487","issue_url":"https://api.github.com/repos/WebAssembly/design/issues/104","id":249221487,"user":{"login":"jbondc","id":199519,"avatar_url":"https://avatars.githubusercontent.com/u/199519?v=3","gravatar_id":"","url":"https://api.github.com/users/jbondc","html_url":"https://github.com/jbondc","followers_url":"https://api.github.com/users/jbondc/followers","following_url":"https://api.github.com/users/jbondc/following{/other_user}","gists_url":"https://api.github.com/users/jbondc/gists{/gist_id}","starred_url":"https://api.github.com/users/jbondc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbondc/subscriptions","organizations_url":"https://api.github.com/users/jbondc/orgs","repos_url":"https://api.github.com/users/jbondc/repos","events_url":"https://api.github.com/users/jbondc/events{/privacy}","received_events_url":"https://api.github.com/users/jbondc/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T15:20:09Z","updated_at":"2016-09-23T15:20:09Z","body":"@sunfishcode Will do, but largely gave up.  \r\n\r\nFor anyone interested in BIP: \r\nhttp://www-verimag.imag.fr/New-BIP-tools.html\r\n\r\nIs the thinking then with WASM threads, that code like this would compile into atomic load/store ops?\r\n```\r\nclass FastBlockableMutex {\r\n protected:\r\n  atomic<bool> mIsLocked;\r\n  atomic<int> mWaiters;\r\n  atomic<int> mBlockers;\r\n  mutex mMutex;\r\n \r\n};\r\n```"}}
{"actor":{"display_login":"jbondc"}}