Proper use of absl::Condition #1850
-
I am using Abseil Synchronization primitives. I want to write a class Foo with data member int field_ protected by absl::Mutex guard_. What is the proper way to write a method of a class Foo using absl::Condition, which takes int parameter v and waits on a mutex until value of the field_ becomes equal to v? class Foo {
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
abseil-cpp/absl/synchronization/mutex.h Lines 773 to 777 in be68967
|
Beta Was this translation helpful? Give feedback.
abseil-cpp/absl/synchronization/mutex.h
Lines 773 to 777 in be68967