8000 Release Fix CountDownLatch usage of NSCondition · uber/swift-concurrency · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix CountDownLatch usage of NSCondition

Compare
Choose a tag to compare
@neakor neakor released this 25 May 18:56
· 38 commits to master since this release
643360a

NSCondition.wait must be run in a loop that continuously checks the actual predicate. The wait method can randomly wake up without the condition being signaled.

0