Lines Matching refs:mtx_
64 boost::mutex mtx_;
68 mtx_.lock();
70 mtx_.unlock();
73 mtx_.lock();
75 mtx_.unlock();
78 mtx_.lock();
80 mtx_.unlock();
89 …below, guard's constructor locks the passed-in object `mtx_`, and guard's destructor unlocks `mtx_…
92 boost::mutex mtx_; // explicit mutex declaration
96 boost::lock_guard<boost::mutex> guard(mtx_);
100 boost::lock_guard<boost::mutex> guard(mtx_);
104 boost::lock_guard<boost::mutex> guard(mtx_);
133 boost::lock_guard<boost::mutex> guard(acct.mtx_); 1
138 Notice that the code above doesn't compile, the `mtx_` field is private.
141 * make `mtx_` public which seems odd
147 boost::mutex mtx_;
151 boost::lock_guard<boost::mutex> guard(mtx_);
155 boost::lock_guard<boost::mutex> guard(mtx_);
159 mtx_.lock();
162 mtx_.unlock();
303 boost::mutex mtx_; 1
328 mutex_type mtx_;
344 unique_lock_type guard(mtx_); 1
354 unique_lock_type guard(mtx_); 4