Partition problem

Tim Cussins timcussins at eml.cc
Tue Oct 23 09:31:51 CDT 2007


On Tue, 23 Oct 2007 09:06:50 -0500, "Joel Sherrill"
<joel.sherrill at oarcorp.com> said:
> Leon Pollak wrote:
> > Thank you, Tim.
> > The issue you write is clear for me.
> > But reading the docs, I was sure that partition is thread safe. Also, looking 
> > into the code shows a lot of enable/disable thread dispatch.
> > Is not this enough?
> >
> >   
> partitions are supposed to be thread safe.  They are based upon
> supercore chains and the partition get and return use chain
> operations which disable interrupts during get/append operations.
> 
> It should be very safe.

True. Maybe you're overflowing a buffer and writing into the header of
the next one?

Sorry to mislead you on the thread-safety thing.

Tim



More information about the rtems-users mailing list