Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a768db

Browse files
julianoesdagar
authored andcommitted
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.
1 parent 52099f5 commit 7a768db

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ class LockstepScheduler
4040
// thread_local object can still be in the linked list. In that case
4141
// we need to wait until it's removed.
4242
while (!removed) {
43-
#ifndef UNIT_TESTS // unit tests don't define system_usleep and execute faster w/o sleeping here
4443
system_usleep(5000);
45-
#endif
4644
}
4745
}
4846

0 commit comments

Comments
 (0)