summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Time.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-06-18 12:11:32 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-06-18 12:11:32 +0000
commit45b526ce09daee869ec1313808583f7e05bff7bb (patch)
tree297d2b1f02b14e1fdffbc1074b3d23670859f602 /cpp/src/qpid/sys/Time.h
parent41c30308ad435c338633b97405fe7350d515f069 (diff)
downloadqpid-python-45b526ce09daee869ec1313808583f7e05bff7bb.tar.gz
Intermediate checkin with preliminary work on epoll based net IO
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@548337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Time.h')
-rw-r--r--cpp/src/qpid/sys/Time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Time.h b/cpp/src/qpid/sys/Time.h
index 4bb65e9f4a..25b1606844 100644
--- a/cpp/src/qpid/sys/Time.h
+++ b/cpp/src/qpid/sys/Time.h
@@ -97,8 +97,12 @@ const Duration TIME_USEC = 1000;
/** Nanoseconds per nanosecond. */
const Duration TIME_NSEC = 1;
+/** Value to represent an infinite timeout */
+const Duration TIME_INFINITE = std::numeric_limits<int64_t>::max();
+
/** Time greater than any other time */
const AbsTime FAR_FUTURE = AbsTime::FarFuture();
+
}}
#endif /*!_sys_Time_h*/