]> sjero.net Git - iperf/blobdiff - compat/Thread.c
Fix CPU Usage Bug
[iperf] / compat / Thread.c
index 5919ff1d6a39aa3a986656db36e250722c9e1eb7..84341ed3cc6578f9a7f8f31c8558a3f0f93bb620 100644 (file)
@@ -405,9 +405,6 @@ int thread_numuserthreads( void ) {
 void thread_rest ( void ) {
 #if defined( HAVE_THREAD )
 #if defined( HAVE_POSIX_THREAD )
-    // TODO add checks for sched_yield or pthread_yield and call that
-    // if available
-    usleep( 0 );
 #else // Win32
     SwitchToThread( );
 #endif