Go to the documentation of this file.
15 #include "absl/synchronization/notification.h"
19 #include "absl/base/attributes.h"
20 #include "absl/base/internal/raw_logging.h"
21 #include "absl/synchronization/mutex.h"
22 #include "absl/time/time.h"
34 "Notify() method called more than once for Notification object %p",
35 static_cast<void *
>(
this));
#define ABSL_PREDICT_FALSE(x)
std::atomic< bool > notified_yet_
void Unlock() ABSL_UNLOCK_FUNCTION()
#define ABSL_NAMESPACE_END
bool LockWhenWithDeadline(const Condition &cond, absl::Time deadline) ABSL_EXCLUSIVE_LOCK_FUNCTION()
std::condition_variable Condition
#define ABSL_NAMESPACE_BEGIN
bool WaitForNotificationWithDeadline(absl::Time deadline) const
static bool HasBeenNotifiedInternal(const std::atomic< bool > *notified_yet)
void LockWhen(const Condition &cond) ABSL_EXCLUSIVE_LOCK_FUNCTION()
bool WaitForNotificationWithTimeout(absl::Duration timeout) const
bool LockWhenWithTimeout(const Condition &cond, absl::Duration timeout) ABSL_EXCLUSIVE_LOCK_FUNCTION()
#define ABSL_RAW_LOG(severity,...)
void WaitForNotification() const
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:32