Add tryWLock, tryRLock, tryULock, tryWLock to folly::Synchronized
Summary: Add `try_lock` methods to `folly::Synchronized` and add the corresponding extensions to `LockTraits`. These return `LockedPtr`s that are valid and convert to true when the lock operation was successful, null otherwise override-unit-failure Reviewed By: yfeldblum, ot Differential Revision: D7651765 fbshipit-source-id: eb85987a2e4476cd916747dfc2ae69d124690ee6
Showing
Please register or sign in to comment