Skip to content
Commit 8f9607a6 authored by Kuba Brecka's avatar Kuba Brecka
Browse files

[tsan] Add release+acquire semantics for serial dispatch queues

Serial queues need extra happens-before between individual tasks executed in the same queue. This patch adds `Acquire(queue)` before the executed task and `Release(queue)` just after it (for serial queues only). Added a test case.

Differential Revision: http://reviews.llvm.org/D15011

llvm-svn: 254229
parent f94bb99a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment