Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82455 - in trunk/libs/thread/test/threads/thread: assign constr destr members non_members
From: vicente.botet_at_[hidden]
Date: 2013-01-12 03:52:28


Author: viboes
Date: 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
New Revision: 82455
URL: http://svn.boost.org/trac/boost/changeset/82455

Log:
Thread: comment not thread-safe check for the time been. atomic<> should be used insted.
Text files modified:
   trunk/libs/thread/test/threads/thread/assign/copy_fail.cpp | 2 +-
   trunk/libs/thread/test/threads/thread/assign/move_pass.cpp | 2 +-
   trunk/libs/thread/test/threads/thread/constr/FArgs_pass.cpp | 2 +-
   trunk/libs/thread/test/threads/thread/constr/F_pass.cpp | 2 +-
   trunk/libs/thread/test/threads/thread/constr/copy_fail.cpp | 4 ++--
   trunk/libs/thread/test/threads/thread/destr/dtor_pass.cpp | 2 +-
   trunk/libs/thread/test/threads/thread/members/detach_pass.cpp | 2 +-
   trunk/libs/thread/test/threads/thread/members/joinable_pass.cpp | 2 +-
   trunk/libs/thread/test/threads/thread/non_members/swap_pass.cpp | 2 +-
   9 files changed, 10 insertions(+), 10 deletions(-)

Modified: trunk/libs/thread/test/threads/thread/assign/copy_fail.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/assign/copy_fail.cpp (original)
+++ trunk/libs/thread/test/threads/thread/assign/copy_fail.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -49,7 +49,7 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     op_run = true;
   }
 

Modified: trunk/libs/thread/test/threads/thread/assign/move_pass.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/assign/move_pass.cpp (original)
+++ trunk/libs/thread/test/threads/thread/assign/move_pass.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -52,7 +52,7 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     op_run = true;
   }
 

Modified: trunk/libs/thread/test/threads/thread/constr/FArgs_pass.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/constr/FArgs_pass.cpp (original)
+++ trunk/libs/thread/test/threads/thread/constr/FArgs_pass.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -84,7 +84,7 @@
   void operator()(int i, double j)
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive >= 1);
+ //BOOST_TEST(n_alive >= 1);
     BOOST_TEST(i == 5);
     BOOST_TEST(j == 5.5);
     op_run = true;

Modified: trunk/libs/thread/test/threads/thread/constr/F_pass.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/constr/F_pass.cpp (original)
+++ trunk/libs/thread/test/threads/thread/constr/F_pass.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -82,7 +82,7 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive >= 1);
+ //BOOST_TEST(n_alive >= 1);
     op_run = true;
   }
 

Modified: trunk/libs/thread/test/threads/thread/constr/copy_fail.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/constr/copy_fail.cpp (original)
+++ trunk/libs/thread/test/threads/thread/constr/copy_fail.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -49,14 +49,14 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     op_run = true;
   }
 
   void operator()(int i, double j)
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     BOOST_TEST(i == 5);
     BOOST_TEST(j == 5.5);
     op_run = true;

Modified: trunk/libs/thread/test/threads/thread/destr/dtor_pass.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/destr/dtor_pass.cpp (original)
+++ trunk/libs/thread/test/threads/thread/destr/dtor_pass.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -50,7 +50,7 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     op_run = true;
   }
 };

Modified: trunk/libs/thread/test/threads/thread/members/detach_pass.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/members/detach_pass.cpp (original)
+++ trunk/libs/thread/test/threads/thread/members/detach_pass.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -49,7 +49,7 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     op_run = true;
   }
 };

Modified: trunk/libs/thread/test/threads/thread/members/joinable_pass.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/members/joinable_pass.cpp (original)
+++ trunk/libs/thread/test/threads/thread/members/joinable_pass.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -49,7 +49,7 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     op_run = true;
   }
 };

Modified: trunk/libs/thread/test/threads/thread/non_members/swap_pass.cpp
==============================================================================
--- trunk/libs/thread/test/threads/thread/non_members/swap_pass.cpp (original)
+++ trunk/libs/thread/test/threads/thread/non_members/swap_pass.cpp 2013-01-12 03:52:26 EST (Sat, 12 Jan 2013)
@@ -47,7 +47,7 @@
   void operator()()
   {
     BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
     op_run = true;
   }
 };


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