Re: [PATCH 3/5] score: Return prev state in thread state set/clear

2015-03-31 Thread Sebastian Huber
On 31/03/15 16:46, Joel Sherrill wrote: @@ -267,11 +269,13 @@ void _Thread_Clear_state( > * @param[in] the_thread is the thread to set the state for. > * @param[in] state is the state to set the_thread to. > * >+ * @return The previous state. >+ * > * - INTERRUPT LATENCY: > * +

Re: [PATCH 3/5] score: Return prev state in thread state set/clear

2015-03-31 Thread Joel Sherrill
On 3/31/2015 1:00 AM, Sebastian Huber wrote: > --- > cpukit/score/include/rtems/score/threadimpl.h | 8 ++-- > cpukit/score/src/threadclearstate.c | 4 +++- > cpukit/score/src/threadsetstate.c | 4 +++- > 3 files changed, 12 insertions(+), 4 deletions(-) > > diff --git

[PATCH 3/5] score: Return prev state in thread state set/clear

2015-03-30 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/threadimpl.h | 8 ++-- cpukit/score/src/threadclearstate.c | 4 +++- cpukit/score/src/threadsetstate.c | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/sc