summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/sys/windows
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-04-08 05:07:08 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-04-08 05:07:08 +0000
commit1c949f8f54d3ede6b52fcfa63f702f9f154f8655 (patch)
tree01e3626b60cb21f11ea229cc5a886b0274c526a5 /cpp/include/qpid/sys/windows
parente0d767b10057149be7ef502687c4d943582ee2c0 (diff)
downloadqpid-python-1c949f8f54d3ede6b52fcfa63f702f9f154f8655.tar.gz
Remove some clunky accessors for AbsTime on Windows and replace by making Condition
a friend class of AbsTime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/sys/windows')
-rwxr-xr-xcpp/include/qpid/sys/windows/Condition.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/include/qpid/sys/windows/Condition.h b/cpp/include/qpid/sys/windows/Condition.h
index 979fae9b0a..cd5aebbf09 100755
--- a/cpp/include/qpid/sys/windows/Condition.h
+++ b/cpp/include/qpid/sys/windows/Condition.h
@@ -34,9 +34,6 @@
namespace qpid {
namespace sys {
-// Private Time related implementation details
-void toPtime(boost::posix_time::ptime& pt, const AbsTime& t);
-
/**
* A condition variable for thread synchronization.
*/
@@ -65,7 +62,7 @@ void Condition::wait(Mutex& mutex) {
}
bool Condition::wait(Mutex& mutex, const AbsTime& absoluteTime){
- return condition.timed_wait(mutex.mutex, absoluteTime.getPrivate());
+ return condition.timed_wait(mutex.mutex, absoluteTime.timepoint);
}
void Condition::notify(){