Re: [PATCH 1/5] score: Simplify _Thread_Clear_state()

2015-03-31 Thread Sebastian Huber
I wait with this patch set after the 4.11 release since it may have some implications with respect to fine grained locking that are not fully clear yet. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 18

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 2/5] score: Simplify _Thread_Set_state()

2015-03-31 Thread Joel Sherrill
On 3/31/2015 1:00 AM, Sebastian Huber wrote: > --- > cpukit/score/src/threadsetstate.c | 13 ++--- > 1 file changed, 6 insertions(+), 7 deletions(-) > > diff --git a/cpukit/score/src/threadsetstate.c > b/cpukit/score/src/threadsetstate.c > index 02ee70e..8114d70 100644 > --- a/cpukit/sc

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