gr::custom_lock
gnuradio/custom_lock.h
gr::thread::scoped_lock gr::thread::scoped_lock gr::custom_lock::d_lock d_lock gr::custom_lock::d_lock
std::shared_ptr< custom_lock_if > std::shared_ptr<custom_lock_if> gr::custom_lock::d_locker d_locker gr::custom_lock::d_locker
gr::custom_lock::custom_lock
(gr::thread::mutex &mutex, std::shared_ptr< custom_lock_if > locker)
custom_lock
gr::custom_lock::custom_lock
gr::thread::mutex & mutex
std::shared_ptr< custom_lock_if > locker
gr::custom_lock::~custom_lock
()
~custom_lock
gr::custom_lock::~custom_lock
gr::custom_lock::custom_lock
(custom_lock const &)=delete
custom_lock
gr::custom_lock::custom_lock
custom_lock const &
custom_lock & custom_lock & gr::custom_lock::operator= (custom_lock const &)=delete operator= gr::custom_lock::operator= custom_lock const &

Class that defines a lock using a mutex and a "locker" that implements the custom_lock_if interface. The interface defines an on_lock() function that is executed when the lock is locked and an on_unlock() function that the is called when the lock is unlocked. Calls to these two functions are delegated to the locker object.

- gr::custom_lock
  custom_lock
- gr::custom_lock
  custom_lock
- gr::custom_lock
  d_lock
- gr::custom_lock
  d_locker
- gr::custom_lock
  operator=
- gr::custom_lock
  ~custom_lock