Re: [PING][PATCH v2] Change the assert in _Thread_Dispatch_decrement_disable_level

2015-04-17 Thread Martin Galvan
Thanks a lot! On Fri, Apr 17, 2015 at 7:18 AM, Sebastian Huber wrote: > I checked in a slightly modified version. > > > On 16/04/15 16:27, Martin Galvan wrote: >> >> While cpu_self->thread_dispatch_disable_level shouldn't ever be zero, it >> would be better to check it before doing the decrement.

Re: [PING][PATCH v2] Change the assert in _Thread_Dispatch_decrement_disable_level

2015-04-17 Thread Sebastian Huber
I checked in a slightly modified version. On 16/04/15 16:27, Martin Galvan wrote: While cpu_self->thread_dispatch_disable_level shouldn't ever be zero, it would be better to check it before doing the decrement. Changes in v2: * Modified the asserts as requested in https://lists.rtems.org/pi

[PING][PATCH v2] Change the assert in _Thread_Dispatch_decrement_disable_level

2015-04-16 Thread Martin Galvan
While cpu_self->thread_dispatch_disable_level shouldn't ever be zero, it would be better to check it before doing the decrement. Changes in v2: * Modified the asserts as requested in https://lists.rtems.org/pipermail/devel/2015-February/009821.html. --- cpukit/score/src/threaddispatchdisablele

[PATCH v2] Change the assert in _Thread_Dispatch_decrement_disable_level

2015-03-27 Thread Martin Galvan
While cpu_self->thread_dispatch_disable_level shouldn't ever be zero, it would be better to check it before doing the decrement. --- cpukit/score/src/threaddispatchdisablelevel.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpukit/score/src/threaddispatchdisablelevel.c