CodeQL library for C/C++
codeql/cpp-all 2.0.1-dev (changelog, source)
Search

Member predicate CustomMutexType::trylockAccess

Holds if fc is a call that tries to lock mutex arg of this type, but may return without success.

predicate trylockAccess(FunctionCall fc, Expr arg)