|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53416 - sandbox/task/libs/task/examples
From: oliver.kowalke_at_[hidden]
Date: 2009-05-29 18:18:05
Author: olli
Date: 2009-05-29 18:18:05 EDT (Fri, 29 May 2009)
New Revision: 53416
URL: http://svn.boost.org/trac/boost/changeset/53416
Log:
* some corrections
Text files modified:
sandbox/task/libs/task/examples/Jamfile.v2 | 7 ++++---
sandbox/task/libs/task/examples/yield.cpp | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
Modified: sandbox/task/libs/task/examples/Jamfile.v2
==============================================================================
--- sandbox/task/libs/task/examples/Jamfile.v2 (original)
+++ sandbox/task/libs/task/examples/Jamfile.v2 2009-05-29 18:18:05 EDT (Fri, 29 May 2009)
@@ -6,16 +6,17 @@
# For more information, see http://www.boost.org/
-project boost/tp/example
+project boost/task/example
: requirements
<library>../../thread/build//boost_thread
+ <library>../../task/build//boost_task
<library>../../system/build//boost_system
<threading>multi
;
-exe bind_to_processor : bind_to_processor.cpp ;
+exe bind_to_processors : bind_to_processors.cpp ;
exe delay : delay.cpp ;
-exe fork_join : for_join.cpp ;
+exe fork_join : fork_join.cpp ;
exe interrupt : interrupt.cpp ;
exe pending : pending.cpp ;
exe priority : priority.cpp ;
Modified: sandbox/task/libs/task/examples/yield.cpp
==============================================================================
--- sandbox/task/libs/task/examples/yield.cpp (original)
+++ sandbox/task/libs/task/examples/yield.cpp 2009-05-29 18:18:05 EDT (Fri, 29 May 2009)
@@ -72,7 +72,7 @@
{
fib_task a( 5);
long result = a.execute( n);
- printf("n == %d, fibonnaci == %d\n", n, result);
+ printf("n == %d, fibonnaci == %ld\n", n, result);
}
int main( int argc, char *argv[])
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