Re: [PATCH 1/4] score: Add optional _CPU_Context_Destroy()

2017-07-19 Thread Sebastian Huber
On 19/07/17 16:13, Gedare Bloom wrote: +#if defined(_CPU_Context_Destroy) + #define _Context_Destory( _the_thread, _the_context ) \ typo: s/Destory/Destroy What is the point of this function/macro? The thread/context may be registered somewhere and we have to remove this registration once

Re: [PATCH 1/4] score: Add optional _CPU_Context_Destroy()

2017-07-19 Thread Gedare Bloom
On Wed, Jul 19, 2017 at 4:21 AM, Sebastian Huber wrote: > Update #3077. > --- > cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 19 +++ > cpukit/score/include/rtems/score/context.h | 7 +++ > cpukit/score/src/threadrestart.c | 2 +- > 3 files changed, 27 insertions(+)

[PATCH 1/4] score: Add optional _CPU_Context_Destroy()

2017-07-19 Thread Sebastian Huber
Update #3077. --- cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 19 +++ cpukit/score/include/rtems/score/context.h | 7 +++ cpukit/score/src/threadrestart.c | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu