[PATCH] score: Fix priority message queue insert

2015-04-21 Thread Sebastian Huber
Move the linear search into a critical section to avoid corruption due to higher priority interrupts. The interrupt disable time depends now on the count of pending messages. Close #2328. --- cpukit/score/include/rtems/score/coremsgimpl.h | 32 +-- cpukit/score/src/coremsginsert.c

Re: [PATCH] score: Fix priority message queue insert

2015-04-21 Thread Joel Sherrill
On 4/21/2015 2:24 AM, Sebastian Huber wrote: > Move the linear search into a critical section to avoid corruption due > to higher priority interrupts. The interrupt disable time depends now > on the count of pending messages. > > Close #2328. > --- > cpukit/score/include/rtems/score/coremsgimpl

Re: [PATCH] score: Fix priority message queue insert

2015-04-22 Thread Gedare Bloom
Joel, On Tue, Apr 21, 2015 at 12:13 PM, Joel Sherrill wrote: > > > On 4/21/2015 2:24 AM, Sebastian Huber wrote: >> Move the linear search into a critical section to avoid corruption due >> to higher priority interrupts. The interrupt disable time depends now >> on the count of pending messages.

Re: [PATCH] score: Fix priority message queue insert

2015-04-22 Thread Sebastian Huber
- Gedare Bloom schrieb: > Joel, > > On Tue, Apr 21, 2015 at 12:13 PM, Joel Sherrill > wrote: > > > > > > On 4/21/2015 2:24 AM, Sebastian Huber wrote: > >> Move the linear search into a critical section to avoid corruption due > >> to higher priority interrupts. The interrupt disable time d

Re: [PATCH] score: Fix priority message queue insert

2015-04-22 Thread Chris Johns
On 23/04/2015 5:51 am, Sebastian Huber wrote: > > - Gedare Bloom schrieb: >> Joel, >> >> On Tue, Apr 21, 2015 at 12:13 PM, Joel Sherrill >> wrote: >>> >>> >>> On 4/21/2015 2:24 AM, Sebastian Huber wrote: Move the linear search into a critical section to avoid corruption due to high