From 5749a18faea208ad19f39612c3c55166ca409fef Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Tue, 13 Mar 2012 12:19:31 +0100 Subject: xs_utils cleanup 1/2 (minimize exported api) Reduced xs_utils to the minimum functions required (xs_stopwatch_*) xs_sleep, xs_thread_* are internal to unit tests and have been moved to testutil.hpp, useless use of xs_sleep in perf/ has been removed. Signed-off-by: Martin Lucina --- tests/reconnect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/reconnect.cpp') diff --git a/tests/reconnect.cpp b/tests/reconnect.cpp index c23d306..af8eda4 100644 --- a/tests/reconnect.cpp +++ b/tests/reconnect.cpp @@ -39,7 +39,7 @@ int XS_TEST_MAIN () assert (rc == 3); // Wait a while for few attempts to reconnect to happen. - xs_sleep (1); + sleep (1); // Bind the peer and get the message. rc = xs_bind (pull, "tcp://127.0.0.1:5560"); @@ -67,7 +67,7 @@ int XS_TEST_MAIN () assert (rc == 3); // Wait a while for few attempts to reconnect to happen. - xs_sleep (1); + sleep (1); // Bind the peer and get the message. rc = xs_bind (pull, "tcp://127.0.0.1:5560"); -- cgit v1.2.3