Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84420 - in trunk/libs/thread: doc test
From: vicente.botet_at_[hidden]
Date: 2013-05-22 13:13:03


Author: viboes
Date: 2013-05-22 13:13:03 EDT (Wed, 22 May 2013)
New Revision: 84420
URL: http://svn.boost.org/trac/boost/changeset/84420

Log:
Thread: fix inspection issues.
Text files modified:
   trunk/libs/thread/doc/changes.qbk | 2 +-
   trunk/libs/thread/test/test_7160.cpp | 29 ++++++++++++++---------------
   2 files changed, 15 insertions(+), 16 deletions(-)

Modified: trunk/libs/thread/doc/changes.qbk
==============================================================================
--- trunk/libs/thread/doc/changes.qbk (original)
+++ trunk/libs/thread/doc/changes.qbk 2013-05-22 13:13:03 EDT (Wed, 22 May 2013)
@@ -1,6 +1,6 @@
 [/
   (C) Copyright 2007-11 Anthony Williams.
- (C) Copyright 2011-12 Vicente J. Botet Escriba.
+ (C) Copyright 2011-13 Vicente J. Botet Escriba.
   Distributed under the Boost Software License, Version 1.0.
   (See accompanying file LICENSE_1_0.txt or copy at
   http://www.boost.org/LICENSE_1_0.txt).

Modified: trunk/libs/thread/test/test_7160.cpp
==============================================================================
--- trunk/libs/thread/test/test_7160.cpp (original)
+++ trunk/libs/thread/test/test_7160.cpp 2013-05-22 13:13:03 EDT (Wed, 22 May 2013)
@@ -10,28 +10,27 @@
 
 class ThreadClass
 {
- public:
+public:
   ThreadClass()
- {
- }
+ {
+ }
 
- void operator()()
- {
- return;
- }
+ void operator()()
+ {
+ return;
+ }
 };
 
-
 int main()
 {
- boost::posix_time::ptime currentTimeUTC;
+ boost::posix_time::ptime currentTimeUTC;
 
- ThreadClass tc;
- boost::thread t(tc);
- t.join(); //causes a runtime access violation here
+ ThreadClass tc;
+ boost::thread t(tc);
+ t.join(); //causes a runtime access violation here
 
- std::cout << "done" << std::endl;
- //system("pause");
+ std::cout << "done" << std::endl;
+ //system("pause");
 
- return 0;
+ return 0;
 }


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