summaryrefslogtreecommitdiff
path: root/boost/thread/concurrent_queues/sync_queue.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/thread/concurrent_queues/sync_queue.hpp')
-rw-r--r--boost/thread/concurrent_queues/sync_queue.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/thread/concurrent_queues/sync_queue.hpp b/boost/thread/concurrent_queues/sync_queue.hpp
index b36b57e607..ac0fe68d77 100644
--- a/boost/thread/concurrent_queues/sync_queue.hpp
+++ b/boost/thread/concurrent_queues/sync_queue.hpp
@@ -92,13 +92,13 @@ namespace concurrent
inline void push(const value_type& elem, unique_lock<mutex>& lk)
{
super::data_.push_back(elem);
- super::notify_not_empty_if_needed(lk);
+ super::notify_elem_added(lk);
}
inline void push(BOOST_THREAD_RV_REF(value_type) elem, unique_lock<mutex>& lk)
{
super::data_.push_back(boost::move(elem));
- super::notify_not_empty_if_needed(lk);
+ super::notify_elem_added(lk);
}
};
@@ -122,7 +122,7 @@ namespace concurrent
// {
// data_.push(boost::move(*cur));;
// }
-// notify_not_empty_if_needed(lk);
+// notify_elem_added(lk);
// }
// catch (...)
// {