From 55feca30d7e08ec288df1c960addf5da4dfa7365 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 23 Dec 2015 15:08:08 +0100 Subject: [PATCH] Changed: Use nlSleep instead of usleep --HG-- branch : develop --- code/nel/include/nel/misc/mutex.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/code/nel/include/nel/misc/mutex.h b/code/nel/include/nel/misc/mutex.h index cb7e9a188..ec9c89ceb 100644 --- a/code/nel/include/nel/misc/mutex.h +++ b/code/nel/include/nel/misc/mutex.h @@ -293,12 +293,7 @@ public: if (!atomic_swap (&_Lock)) break; -#ifdef NL_OS_WINDOWS nlSleep (wait_time); -#else - //std::cout << "Sleeping i=" << i << std::endl; - usleep( wait_time*1000 ); -#endif } } } @@ -401,12 +396,7 @@ public: if (!CFastMutex::atomic_swap (&_Lock)) break; -#ifdef NL_OS_WINDOWS nlSleep (wait_time); -#else - //std::cout << "Sleeping i=" << i << std::endl; - usleep( wait_time*1000 ); -#endif } } }