17#ifndef CYBER_TRANSPORT_SHM_CONDITION_NOTIFIER_H_
18#define CYBER_TRANSPORT_SHM_CONDITION_NOTIFIER_H_
35 std::atomic<uint64_t> next_seq = {0};
47 static const char*
Type() {
return "condition"; }
57 void* managed_shm_ =
nullptr;
59 Indicator* indicator_ =
nullptr;
60 uint64_t next_seq_ = 0;
61 std::atomic<bool> is_shutdown_ = {
false};
virtual ~ConditionNotifier()
bool Listen(int timeout_ms, ReadableInfo *info) override
bool Notify(const ReadableInfo &info) override
static const char * Type()
#define DECLARE_SINGLETON(classname)
const uint32_t kBufLength