summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-10-02 19:03:06 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-10-02 19:03:06 +0000
commit325111bcc6ee751e16faeeca405ed4b103b2ffce (patch)
tree3055cbd4e49abda4c12181d84b2f48aa0afe1384 /clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
parent2b60cd1b6831d7e95578eb8901495480e9aa301b (diff)
downloadbcm5719-llvm-325111bcc6ee751e16faeeca405ed4b103b2ffce.tar.gz
bcm5719-llvm-325111bcc6ee751e16faeeca405ed4b103b2ffce.zip
thread state coordinator: added simpler deferred stop notification method.
Now that ThreadStateCoordinator errors out on threads in unexpected states, it has enough information to know which threads need stop requests fired when we want to do a deferred callback on a thread's behalf. This change adds a new method, CallAfterRunningThreadsStop(...), which no longer takes a set of thread ids that require stop requests. It's much harder to misuse this method and (with newer error logic) it's harder to correctly use the original method. Expect the original method that takes the set of thread ids to stop to disappear in the near future. Adds several tests for CallAfterRunningThreadsStop(). llvm-svn: 218897
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud