From f23d4706169d68d3c4e90b297650f89c272716f4 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Thu, 9 Jun 2016 11:33:15 -0400 Subject: cpukit: Add and use Watchdog_Discipline. Clock disciplines may be WATCHDOG_RELATIVE, WATCHDOG_ABSOLUTE, or WATCHDOG_NO_TIMEOUT. A discipline of WATCHDOG_RELATIVE with a timeout of WATCHDOG_NO_TIMEOUT is equivalent to a discipline of WATCHDOG_NO_TIMEOUT. updates #2732 --- cpukit/posix/src/prwlockrdlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix/src/prwlockrdlock.c') diff --git a/cpukit/posix/src/prwlockrdlock.c b/cpukit/posix/src/prwlockrdlock.c index 295148e4bf..5b15f5568f 100644 --- a/cpukit/posix/src/prwlockrdlock.c +++ b/cpukit/posix/src/prwlockrdlock.c @@ -35,11 +35,11 @@ int pthread_rwlock_rdlock( return EINVAL; } + _Thread_queue_Context_set_no_timeout( &queue_context ); status = _CORE_RWLock_Seize_for_reading( &the_rwlock->RWLock, _Thread_Executing, true, /* we are willing to wait forever */ - 0, &queue_context ); return _POSIX_Get_error( status ); -- cgit v1.2.3