summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-10-04 14:03:07 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-10-21 07:26:16 (GMT)
commitda871d063e4c24d64317b5a2df69a59e3b60c9b7 (patch)
treee06b5f6ea7b9f2a1ec18ffa77ea598281232d789 /BuildTools
parent687c1082c26ccad85d905d256f8f9d41388aa299 (diff)
downloadswift-da871d063e4c24d64317b5a2df69a59e3b60c9b7.zip
swift-da871d063e4c24d64317b5a2df69a59e3b60c9b7.tar.bz2
Fix data-race in DummyEventLoop::processEvents()
Previously DummyEventLoop::processEvents() wrote to the hasEvents_ member without having locked the corresponding mutex. Changed code to use C++11 atomics instead. Test-Information: All unit tests pass on macOS 10.12. Change-Id: I13aa1566d55b7c0098f927e9c8061547f7056f5d
Diffstat (limited to 'BuildTools')
0 files changed, 0 insertions, 0 deletions