Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58365 - sandbox/fiber/libs/fiber/examples
From: oliver.kowalke_at_[hidden]
Date: 2009-12-13 15:08:38


Author: olli
Date: 2009-12-13 15:08:38 EST (Sun, 13 Dec 2009)
New Revision: 58365
URL: http://svn.boost.org/trac/boost/changeset/58365

Log:
example
Text files modified:
   sandbox/fiber/libs/fiber/examples/ping_pong.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/fiber/libs/fiber/examples/ping_pong.cpp
==============================================================================
--- sandbox/fiber/libs/fiber/examples/ping_pong.cpp (original)
+++ sandbox/fiber/libs/fiber/examples/ping_pong.cpp 2009-12-13 15:08:38 EST (Sun, 13 Dec 2009)
@@ -68,8 +68,8 @@
         fifo_t buf1( sched);
         fifo_t buf2( sched);
         
- sched.make_fiber( & ping, boost::ref( buf1), boost::ref( buf2) );
- sched.make_fiber( & pong, boost::ref( buf2), boost::ref( buf1) );
+ sched.make_fiber( & ping, buf1, buf2);
+ sched.make_fiber( & pong, buf2, buf1);
 }
 
 int main()


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