Update of /cvsroot/boost/boost/boost/interprocess/sync/emulation
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29744/sync/emulation
Modified Files:
interprocess_condition.hpp interprocess_mutex.hpp
Log Message:
no message
Index: interprocess_condition.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/emulation/interprocess_condition.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- interprocess_condition.hpp 12 May 2007 12:51:20 -0000 1.3
+++ interprocess_condition.hpp 23 Jun 2007 12:52:18 -0000 1.4
@@ -80,8 +80,7 @@
const boost::posix_time::ptime &abs_time,
interprocess_mutex &mut)
{
- boost::posix_time::ptime now =
- boost::posix_time::microsec_clock::universal_time();
+ boost::posix_time::ptime now = microsec_clock::universal_time();
if(tout_enabled){
if(now >= abs_time) return false;
@@ -115,7 +114,7 @@
//Check for timeout
if(tout_enabled){
- now = boost::posix_time::microsec_clock::universal_time();
+ now = microsec_clock::universal_time();
if(now >= abs_time){
//If we can lock the interprocess_mutex it means that no
notification
Index: interprocess_mutex.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/emulation/interprocess_mutex.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- interprocess_mutex.hpp 12 May 2007 12:51:20 -0000 1.3
+++ interprocess_mutex.hpp 23 Jun 2007 12:52:18 -0000 1.4
@@ -49,8 +49,7 @@
inline bool interprocess_mutex::timed_lock(const boost::posix_time::ptime
&abs_time)
{
//Obtain current count and target time
- boost::posix_time::ptime now =
- boost::posix_time::microsec_clock::universal_time();
+ boost::posix_time::ptime now = microsec_clock::universal_time();
if(now >= abs_time) return false;
@@ -60,7 +59,7 @@
if (m_s == 1 && prev_s == 0){
break;
}
- now = boost::posix_time::microsec_clock::universal_time();
+ now = microsec_clock::universal_time();
if(now >= abs_time){
return false;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs