MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / try_lock_impl

Function try_lock_impl

extern/boost/boost/thread/lock_algorithms.hpp:304–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302
303 template <typename MutexType1, typename MutexType2>
304 int try_lock_impl(MutexType1& m1, MutexType2& m2, is_mutex_type_wrapper<true> )
305 {
306 return ((int) detail::try_lock_internal(m1, m2)) - 1;
307 }
308
309 template <typename Iterator>
310 Iterator try_lock_impl(Iterator begin, Iterator end, is_mutex_type_wrapper<false> );

Callers 1

try_lockFunction · 0.85

Calls 4

try_lock_internalFunction · 0.85
try_lockFunction · 0.70
owns_lockMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected