j
k
j a
j l
On Nov 15, 2007, at 1:56 PM, Alexander Terekhov wrote:
...inline void condition_variable_any::notify_one() { lock_guard<mutex> _(*mut_); cv_.notify_one(); } No need to hold the lock while signaling. I'd add {}.
inline void condition_variable_any::notify_one() { lock_guard<mutex> _(*mut_); cv_.notify_one(); }
No need to hold the lock while signaling. I'd add {}.
<nod> thanks. -Howard
Back to the thread
Back to the list