Home
last modified time | relevance | path

Searched defs:single_thread_model (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/boost/log/sources/
Dthreading_models.hpp39 struct single_thread_model struct
42 void lock_shared() const BOOST_NOEXCEPT {} in lock_shared()
43 bool try_lock_shared() const BOOST_NOEXCEPT { return true; } in try_lock_shared()
45 bool timed_lock_shared(TimeT const&) const BOOST_NOEXCEPT { return true; } in timed_lock_shared()
46 void unlock_shared() const BOOST_NOEXCEPT {} in unlock_shared()
47 void lock() const BOOST_NOEXCEPT {} in lock()
48 bool try_lock() const BOOST_NOEXCEPT { return true; } in try_lock()
50 bool timed_lock(TimeT const&) const BOOST_NOEXCEPT { return true; } in timed_lock()
51 void unlock() const BOOST_NOEXCEPT {} in unlock()
52 void lock_upgrade() const BOOST_NOEXCEPT {} in lock_upgrade()
[all …]