size_t num_waiters()
returns number of waiters
void notify_waiters() final
std::mutex waiters_mutex_
void on()
turn switch ON and notify one waiter
bool add_waiter(onoff_switch *sw) final
void delete_waiter(onoff_switch *sw) final
std::set< onoff_switch * > waiters_