diff options
author | Gedare Bloom <gedare@rtems.org> | 2016-06-09 11:33:15 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2016-07-25 12:44:47 -0400 |
commit | f23d4706169d68d3c4e90b297650f89c272716f4 (patch) | |
tree | 333bdc4b4be2ec4ad7ee80ee03229759ec60602a /cpukit/score/src/mpci.c | |
parent | score: Fix for RTEMS_DEBUG (diff) | |
download | rtems-f23d4706169d68d3c4e90b297650f89c272716f4.tar.bz2 |
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
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r-- | cpukit/score/src/mpci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index 9eb169ba17..a562b29cbd 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -261,6 +261,7 @@ Status_Control _MPCI_Send_request_packet( executing, STATES_WAITING_FOR_RPC_REPLY | extra_state, the_packet->timeout, + WATCHDOG_RELATIVE, 2 ); @@ -328,6 +329,7 @@ void _MPCI_Receive_server( executing = _Thread_Get_executing(); _Thread_queue_Context_initialize( &queue_context ); + _Thread_queue_Context_set_no_timeout( &queue_context ); for ( ; ; ) { @@ -339,7 +341,6 @@ void _MPCI_Receive_server( MPCI_SEMAPHORE_TQ_OPERATIONS, executing, true, - WATCHDOG_NO_TIMEOUT, &queue_context ); |