[rtems commit] tests: atomic support for RTEMS. Uniprocessor tests for atomic ops.

Gedare Bloom gedare at rtems.org
Mon Feb 11 14:53:22 UTC 2013


On Mon, Feb 11, 2013 at 9:47 AM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> On 2/11/2013 8:43 AM, Sebastian Huber wrote:
>>
>> On 02/08/2013 02:17 AM, Gedare Bloom wrote:
>>>
>>> I suppose the question is whether we want to let code that includes
>>> the atomics compile for an unsupported CPU. I think we should define a
>>> minimal stub that allows the code to compile and assert(false) so that
>>> any user that actually tries it will get an obvious failure.
>>
>> Yes, we should provide a stub that uses ISR disable/enable around the
>> operation.
>
> +1
>
OK, let us do an ISR-disable/enable wrapped stub for each operation. I
think that is the best fall-back option.

> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel



More information about the devel mailing list