About Thread_Cancel

Richi Dubey richidubey at gmail.com
Thu Feb 25 08:30:00 UTC 2021


Hi Sebastian,

Thank you for the help. I will look further into this.

Best Regards,
Richi.

On Wed, Feb 24, 2021 at 10:37 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Hello Richi,
>
> the reason for the reference counted life change request and this
> sequence of block/unblock is that you have to be careful with the lock
> ordering in SMP configurations. _Thread_Add_life_change_request() is
> called under protection of the thread state lock. The
> _Thread_Finalize_life_change() is called without owning this lock.
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210225/e88b545d/attachment.html>


More information about the devel mailing list