{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/1950","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/1950/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/1950/comments","events_url":"https://api.github.com/repos/apple/swift/issues/1950/events","html_url":"https://github.com/apple/swift/pull/1950","id":144509029,"number":1950,"title":"[runtime] enhanced and refactored recently added Mutex abstraction","user":{"login":"shawnce","id":352255,"avatar_url":"https://avatars.githubusercontent.com/u/352255?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnce","html_url":"https://github.com/shawnce","followers_url":"https://api.github.com/users/shawnce/followers","following_url":"https://api.github.com/users/shawnce/following{/other_user}","gists_url":"https://api.github.com/users/shawnce/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnce/subscriptions","organizations_url":"https://api.github.com/users/shawnce/orgs","repos_url":"https://api.github.com/users/shawnce/repos","events_url":"https://api.github.com/users/shawnce/events{/privacy}","received_events_url":"https://api.github.com/users/shawnce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gparker42","id":992218,"avatar_url":"https://avatars.githubusercontent.com/u/992218?v=3","gravatar_id":"","url":"https://api.github.com/users/gparker42","html_url":"https://github.com/gparker42","followers_url":"https://api.github.com/users/gparker42/followers","following_url":"https://api.github.com/users/gparker42/following{/other_user}","gists_url":"https://api.github.com/users/gparker42/gists{/gist_id}","starred_url":"https://api.github.com/users/gparker42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gparker42/subscriptions","organizations_url":"https://api.github.com/users/gparker42/orgs","repos_url":"https://api.github.com/users/gparker42/repos","events_url":"https://api.github.com/users/gparker42/events{/privacy}","received_events_url":"https://api.github.com/users/gparker42/received_events","type":"User","site_admin":false},"milestone":null,"comments":51,"created_at":"2016-03-30T08:55:49Z","updated_at":"2016-04-25T10:42:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/1950","html_url":"https://github.com/apple/swift/pull/1950","diff_url":"https://github.com/apple/swift/pull/1950.diff","patch_url":"https://github.com/apple/swift/pull/1950.patch"},"body":"<!-- Please complete this template before creating pull request. -->\r\n- added read / write lock support\r\n- added non-fatal error support to allow use of mutex in fatal error reporting pathway\r\n- isolated pthread implementation to it own header/cpp file pair\r\n- expanded unit tests to cover new code as well as better test existing mutex\r\n- removed a layer of complexity that added no real value\r\n- added static allocation friendly versions of Mutex, ConditionVariable, and ReadWriteLock\r\n\r\n#### Resolved bug number: ([SR-946](https://bugs.swift.org/browse/SR-946))\r\n<!-- If this pull request resolves any bugs from Swift bug tracker -->\r\n\r\n* * * *\r\n\r\n<!-- This selection should only be completed by Swift admin -->\r\nBefore merging this pull request to apple/swift repository:\r\n- [ ] Test pull request on Swift continuous integration.\r\n\r\n<details>\r\n  <summary>Triggering Swift CI</summary>\r\n\r\nThe swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:\r\n\r\n**Smoke Testing**\r\n\r\n        Platform     | Comment\r\n        ------------ | -------------\r\n        All supported platforms     | @swift-ci Please smoke test\r\n        OS X platform               | @swift-ci Please smoke test OS X platform\r\n        Linux platform              | @swift-ci Please smoke test Linux platform\r\n\r\n **Validation Testing**\r\n\r\n        Platform     | Comment\r\n        ------------ | -------------\r\n        All supported platforms     | @swift-ci Please test\r\n        OS X platform               | @swift-ci Please test OS X platform\r\n        Linux platform              | @swift-ci Please test Linux platform\r\n\r\nNote: Only members of the Apple organization can trigger swift-ci.\r\n</details>\r\n<!-- Thank you for your contribution to Swift! -->\r\n"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/214261000","html_url":"https://github.com/apple/swift/pull/1950#issuecomment-214261000","issue_url":"https://api.github.com/repos/apple/swift/issues/1950","id":214261000,"user":{"login":"gparker42","id":992218,"avatar_url":"https://avatars.githubusercontent.com/u/992218?v=3","gravatar_id":"","url":"https://api.github.com/users/gparker42","html_url":"https://github.com/gparker42","followers_url":"https://api.github.com/users/gparker42/followers","following_url":"https://api.github.com/users/gparker42/following{/other_user}","gists_url":"https://api.github.com/users/gparker42/gists{/gist_id}","starred_url":"https://api.github.com/users/gparker42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gparker42/subscriptions","organizations_url":"https://api.github.com/users/gparker42/orgs","repos_url":"https://api.github.com/users/gparker42/repos","events_url":"https://api.github.com/users/gparker42/events{/privacy}","received_events_url":"https://api.github.com/users/gparker42/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T10:42:56Z","updated_at":"2016-04-25T10:42:56Z","body":"@swift-ci Please test"}}