| 185 | typedef ::tensorflow::mutex mutex_type; |
| 186 | |
| 187 | explicit tf_shared_lock(mutex_type& mu) SHARED_LOCK_FUNCTION(mu) : mu_(&mu) { |
| 188 | mu_->lock_shared(); |
| 189 | } |
| 190 | |
| 191 | tf_shared_lock(mutex_type& mu, std::try_to_lock_t) SHARED_LOCK_FUNCTION(mu) |
| 192 | : mu_(&mu) { |
no test coverage detected