change log for rtems (2010-06-22)

Chris Johns chrisj at rtems.org
Wed Jun 23 22:57:20 UTC 2010


On 24/06/10 1:05 AM, Sebastian Huber wrote:
> On 06/23/2010 04:57 PM, Joel Sherrill wrote:
>> On 06/23/2010 07:23 AM, Sebastian Huber wrote:
> [...]
>>> We should consider to forbid NULL pointers for ops tables and handlers.
>>> Instead we should provide reasonable default handlers.  This would
>>> eliminate a
>>> lot of ifs and make the code more readable.
>>>
>>>
>> I was thinking of the same thing.  There are a LOT of places there
>> are checks and having standard stubs would really help the code.
> [...]
>
> There are also a lot of places which don't check this and you always have to
> think about why this is justified in that place.
>

Agreed. This could be looked at when we make this area of code thread 
safe. I suspect a few things will need to change to get the code thread 
safe.

Chris



More information about the vc mailing list