From abec3a5da694584476bed6005bcf49510c92f984 Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Thu, 28 Nov 2013 19:45:57 +0100 Subject: [PATCH] fix typo: bounded_queue::pop_wait_for() --- doc/scheduling.qbk | 1 - include/boost/fiber/bounded_queue.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/scheduling.qbk b/doc/scheduling.qbk index 66181301..01450153 100644 --- a/doc/scheduling.qbk +++ b/doc/scheduling.qbk @@ -147,7 +147,6 @@ protecting the internal state of a mutex or condition_variable.]] [variablelist [[Effects:] [Suspends active fiber while immediately set to ready-state.]] -otherwise.]] ] [member_heading algorithm..get_main_id] diff --git a/include/boost/fiber/bounded_queue.hpp b/include/boost/fiber/bounded_queue.hpp index 43f517ba..9f1df053 100644 --- a/include/boost/fiber/bounded_queue.hpp +++ b/include/boost/fiber/bounded_queue.hpp @@ -672,7 +672,7 @@ public: } template< typename Rep, typename Period > - queue_op_status pop_ait_for( value_type va, + queue_op_status pop_wait_for( value_type va, chrono::duration< Rep, Period > const& timeout_duration) { return pop_wait_until( va, clock_type::now() + timeout_duration); }