From a1643ff7395fec6c46d2cd08c5fda7a8d0cfa99a Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 17 Dec 2007 20:08:46 +0000 Subject: * 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 --- cpp/src/qpid/sys/posix/Time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/sys/posix/Time.cpp') 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; -- cgit v1.2.1