Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54287 - sandbox/task/libs/task/examples
From: oliver.kowalke_at_[hidden]
Date: 2009-06-23 14:45:47


Author: olli
Date: 2009-06-23 14:45:47 EDT (Tue, 23 Jun 2009)
New Revision: 54287
URL: http://svn.boost.org/trac/boost/changeset/54287

Log:
fiexed testwq
Text files modified:
   sandbox/task/libs/task/examples/priority.cpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: sandbox/task/libs/task/examples/priority.cpp
==============================================================================
--- sandbox/task/libs/task/examples/priority.cpp (original)
+++ sandbox/task/libs/task/examples/priority.cpp 2009-06-23 14:45:47 EDT (Tue, 23 Jun 2009)
@@ -34,13 +34,13 @@
> pool( tsk::poolsize( 1) );
 
                 tsk::task< void > t1( long_running_fn);
- tsk::task< void > t2( print_fn, "This");
- tsk::task< void > t3( print_fn, "a text.\n");
- tsk::task< void > t4( print_fn, " is ");
+ tsk::task< void > t2( print_fn, "a text.\n");
+ tsk::task< void > t3( print_fn, " is ");
+ tsk::task< void > t4( print_fn, "This");
 
                 tsk::async(
                         boost::move( t1),
- 0,
+ 3,
                         pool);
                 tsk::async(
                         boost::move( t2),
@@ -48,11 +48,11 @@
                         pool);
                 tsk::async(
                         boost::move( t3),
- 2,
+ 1,
                         pool);
                 tsk::async(
                         boost::move( t4),
- 1,
+ 2,
                         pool);
 
                 return EXIT_SUCCESS;


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