[rtems commit] smptests/smp07: Use suspend instead of delete

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 7 06:03:48 UTC 2013


On 2013-08-07 08:00, Chris Johns wrote:
> Sebastian Huber wrote:
>> On 2013-08-06 23:48, Chris Johns wrote:
>>> Sebastian Huber wrote:
>>>>
>>>> - (void) rtems_task_delete( RTEMS_SELF );
>>>> + /* FIXME: Task deletion currently not supported */
>>>> + (void) rtems_task_suspend( RTEMS_SELF );
>>>>
>>>
>>> In my view this is a blocker for 4.11. With such a bug we cannot say
>>> SMP is
>>> available and it was planned to be in 4.11.
>>>
>>> Is there a "hold giant lock" level solution ? That is something, even if
>>> performance is poor, that is stable.
>>
>> I don't know an easy solution for the thread deletion problem, see also
>>
>> http://www.rtems.org/pipermail/rtems-devel/2013-July/003509.html
>>
>
> I have seen this and also been looking for a solution. I do not have a specific
> solution yet.  I do however see separate issues, the most important in terms of
> SMP being the stack and id release in a self delete.

Deleting an executing remote thread is also a problem.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list