Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82568 - branches/release/libs/thread/test/sync/futures/async
From: vicente.botet_at_[hidden]
Date: 2013-01-20 12:14:52


Author: viboes
Date: 2013-01-20 12:14:51 EST (Sun, 20 Jan 2013)
New Revision: 82568
URL: http://svn.boost.org/trac/boost/changeset/82568

Log:
Thread: merge async_pass timeout extension: [82542].
Text files modified:
   branches/release/libs/thread/test/sync/futures/async/async_pass.cpp | 26 +++++++++++++-------------
   1 files changed, 13 insertions(+), 13 deletions(-)

Modified: branches/release/libs/thread/test/sync/futures/async/async_pass.cpp
==============================================================================
--- branches/release/libs/thread/test/sync/futures/async/async_pass.cpp (original)
+++ branches/release/libs/thread/test/sync/futures/async/async_pass.cpp 2013-01-20 12:14:51 EST (Sun, 20 Jan 2013)
@@ -113,7 +113,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(f.get() == 3);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -131,7 +131,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(f.get() == 3);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -150,7 +150,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(f.get() == 3);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -168,7 +168,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(f.get() == 3);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -185,7 +185,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(f.get() == 3);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -220,7 +220,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(&f.get() == &i);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -237,7 +237,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(&f.get() == &i);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -254,7 +254,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(&f.get() == &i);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -294,7 +294,7 @@
     std::cout << __FILE__ <<"["<<__LINE__<<"]"<<std::endl;
     Clock::time_point t1 = Clock::now();
     std::cout << __FILE__ <<"["<<__LINE__<<"]"<<std::endl;
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -311,7 +311,7 @@
     Clock::time_point t0 = Clock::now();
     f.get();
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -328,7 +328,7 @@
     Clock::time_point t0 = Clock::now();
     f.get();
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -366,7 +366,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(*f.get() == 3);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;
@@ -386,7 +386,7 @@
     Clock::time_point t0 = Clock::now();
     BOOST_TEST(*f.get() == 3);
     Clock::time_point t1 = Clock::now();
- BOOST_TEST(t1 - t0 < ms(120));
+ BOOST_TEST(t1 - t0 < ms(200));
     std::cout << __FILE__ <<"["<<__LINE__<<"] "<< (t1 - t0).count() << std::endl;
     } catch (std::exception& ex) {
       std::cout << __FILE__ <<"["<<__LINE__<<"]"<<ex.what() << std::endl;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk