summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2016-11-24 21:24:54 +0000
committerKuba Mracek <mracek@apple.com>2016-11-24 21:24:54 +0000
commitb59118f6ec3db2a53b36e5ebc85f77dde2aa6dfb (patch)
treeff45daae2384ecf9790d31413e0f26b28ba6ebbe /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
parent26081caf48a27d3de628db201fe71cc6a0fda356 (diff)
downloadbcm5719-llvm-b59118f6ec3db2a53b36e5ebc85f77dde2aa6dfb.tar.gz
bcm5719-llvm-b59118f6ec3db2a53b36e5ebc85f77dde2aa6dfb.zip
[tsan] Add support for GCD dispatch_suspend and dispatch_resume
GCD queues can be suspended and resumed with dispatch_suspend and dispatch_resume. We need to add synchronization between the call to dispatch_resume and any subsequent executions of blocks in the queue that was resumed. We already have an Acquire(q) before the block executes, so this patch just adds the Release(q) in an interceptor of dispatch_resume. Differential Revision: https://reviews.llvm.org/D27112 llvm-svn: 287902
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud