testing/ostest: make sure that pthread_rwlock timeout test is executed properly
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
2655f80dd7
commit
4159fa197b
@ -327,6 +327,8 @@ static FAR void *timeout_thread2(FAR void *data)
|
||||
struct timespec time;
|
||||
int status;
|
||||
|
||||
pthread_yield();
|
||||
|
||||
status = clock_gettime(CLOCK_REALTIME, &time);
|
||||
time.tv_sec += 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user