lockstep_scheduler: fix return value, remove errno
The API of cond_timedwait was wrong. It used return -1 and set errno instead of returning the error as specified for pthread_cond_timedwait which it tries to mock.
Showing
- platforms/posix/src/lockstep_scheduler/src/lockstep_scheduler.cpp 3 additions, 6 deletions...s/posix/src/lockstep_scheduler/src/lockstep_scheduler.cpp
- platforms/posix/src/lockstep_scheduler/test/src/lockstep_scheduler_test.cpp 2 additions, 3 deletions...c/lockstep_scheduler/test/src/lockstep_scheduler_test.cpp
Please register or sign in to comment