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 } } }