From 7a768dbab356d012e3bffc10a4b17e64cfe1cf61 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 16 May 2019 10:55:24 +0200 Subject: [PATCH] lockstep_scheduler: always use the same code This define was not set anyway, and in my opinion we should not use different code for tests anyway. --- .../include/lockstep_scheduler/lockstep_scheduler.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h b/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h index 06726e1b17..76271345a8 100644 --- a/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h +++ b/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h @@ -40,9 +40,7 @@ private: // thread_local object can still be in the linked list. In that case // we need to wait until it's removed. while (!removed) { -#ifndef UNIT_TESTS // unit tests don't define system_usleep and execute faster w/o sleeping here system_usleep(5000); -#endif } }