About Thread_Cancel

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Feb 24 17:07:51 UTC 2021


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/



More information about the devel mailing list