Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65395 - sandbox/sync/boost/sync
From: vicente.botet_at_[hidden]
Date: 2010-09-12 08:00:44


Author: viboes
Date: 2010-09-12 08:00:42 EDT (Sun, 12 Sep 2010)
New Revision: 65395
URL: http://svn.boost.org/trac/boost/changeset/65395

Log:
Boost.Sync: port to Win32
Text files modified:
   sandbox/sync/boost/sync/lockable_concepts.hpp | 18 +++++++++---------
   1 files changed, 9 insertions(+), 9 deletions(-)

Modified: sandbox/sync/boost/sync/lockable_concepts.hpp
==============================================================================
--- sandbox/sync/boost/sync/lockable_concepts.hpp (original)
+++ sandbox/sync/boost/sync/lockable_concepts.hpp 2010-09-12 08:00:42 EDT (Sun, 12 Sep 2010)
@@ -40,7 +40,7 @@
         l.lock();
         l.unlock();
     }
- Lockable& l;
+ Lockable l;
 };
 //]
 /**
@@ -58,7 +58,7 @@
     BOOST_CONCEPT_USAGE(TryLockableConcept) {
         b=l.try_lock();
     }
- Lockable& l;
+ Lockable l;
     bool b;
 };
 //]
@@ -78,7 +78,7 @@
         b=l.try_lock_until(t);
         b=l.try_lock_for(d);
     }
- Lockable& l;
+ Lockable l;
     //~ boost::chrono::system_clock::time_point t;
     //~ boost::chrono::system_clock::duration d;
     boost::posix_time::ptime t;
@@ -108,8 +108,8 @@
         c.notify_one();
         c.notify_all();
     }
- Lockable& l;
- Condition& c;
+ Lockable l;
+ Condition c;
     //~ boost::chrono::system_clock::time_point t;
     //~ boost::chrono::system_clock::duration d;
     boost::posix_time::ptime t;
@@ -137,7 +137,7 @@
         b=l.try_lock_shared_for(d);
         l.unlock_shared();
     }
- Lockable& l;
+ Lockable l;
     //~ boost::chrono::system_clock::time_point t;
     //~ boost::chrono::system_clock::duration d;
     boost::posix_time::ptime t;
@@ -168,7 +168,7 @@
         l.unlock_upgrade_and_lock_shared();
         
     }
- Lockable& l;
+ Lockable l;
 
 };
 //]
@@ -186,7 +186,7 @@
         b=l.try_unlock_share_and_lock_upgrade();
         
     }
- Lockable& l;
+ Lockable l;
     bool b;
 
 };
@@ -205,7 +205,7 @@
         b=l.try_unlock_upgrade_and_lock_until(t);
         
     }
- Lockable& l;
+ Lockable l;
     //~ boost::chrono::system_clock::time_point t;
     //~ boost::chrono::system_clock::duration d;
     boost::posix_time::ptime t;


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