Change trylock() to try_lock() in folly::SpinLock to conform to standard Lockable.
authorMaged Michael <magedmichael@fb.com>
Tue, 28 Mar 2017 15:36:31 +0000 (08:36 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 28 Mar 2017 15:37:46 +0000 (08:37 -0700)
commitcfb40f4e3e706cdc6467e9a123fc8001f14ef4c0
tree283cc3b6c34894003aa96497c9d63a8fec5ff3fe
parent43a79f74cfdeac62198fc4dbdda7a04d4d14ece6
Change trylock() to try_lock() in folly::SpinLock to conform to standard Lockable.

Reviewed By: yfeldblum

Differential Revision: D4782707

fbshipit-source-id: 535b42b4f2558cadc78037268d6de81a8bb49840
folly/detail/SpinLockImpl.h
folly/io/async/NotificationQueue.h
folly/test/SpinLockTest.cpp