Returns whether the value is set.
| 114 | |
| 115 | /// Returns whether the value is set. |
| 116 | bool IsSet() { |
| 117 | std::lock_guard<std::mutex> l(val_lock_); |
| 118 | return val_is_set_; |
| 119 | } |
| 120 | |
| 121 | private: |
| 122 | /// These variables deal with coordination between consumer and producer, and protect |
no outgoing calls
no test coverage detected