Skip to content
Commit dc2a38cd authored by Dmitry Vyukov's avatar Dmitry Vyukov
Browse files

tsan: fix reading of mutex flags

SyncVar::IsFlagSet returns true if any flag is set.
This is wrong. Check the actual requested flag.

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