summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/posix/Time.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-12-17 20:08:46 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-12-17 20:08:46 +0000
commita1643ff7395fec6c46d2cd08c5fda7a8d0cfa99a (patch)
tree4a3618d1a23515366f8c3c46220b28026d40fd17 /cpp/src/qpid/sys/posix/Time.cpp
parentaea3779357db3028a721974d2d39a29d9ded2dd6 (diff)
downloadqpid-python-a1643ff7395fec6c46d2cd08c5fda7a8d0cfa99a.tar.gz
* Limited time allowed for reading on a single connection in a single go to 2ms
* Limit bytes allowed to be written on a connection on a single go to the max ever read * Small performance fix for appending to FrameSets git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/posix/Time.cpp')
-rw-r--r--cpp/src/qpid/sys/posix/Time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/posix/Time.cpp b/cpp/src/qpid/sys/posix/Time.cpp
index 2228caea58..ac63a3d038 100644
--- a/cpp/src/qpid/sys/posix/Time.cpp
+++ b/cpp/src/qpid/sys/posix/Time.cpp
@@ -31,7 +31,7 @@ namespace sys {
AbsTime AbsTime::now() {
struct timespec ts;
- clock_gettime(CLOCK_REALTIME, &ts);
+ ::clock_gettime(CLOCK_REALTIME, &ts);
AbsTime time_now;
time_now.time_ns = toTime(ts).nanosecs;
return time_now;