[PATCH rtems-libbsd 3/7] sys/kern: Add lockmgr support

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 28 08:09:49 UTC 2021


On 28/07/2021 09:58, Chris Johns wrote:
>> Why do we need the lo_name?
> I suspect this could be conditional. It is useful when debugging the locks so
> being able to get the name in the trace is a good thing.
> 
>> The thread queues have already a name.
> Does this mean referencing the internals of the RTEMS mutex to get the name?
> 
> The references to this field are only a few and in rtemsbsd so it looks like
> this could change.
> 

Please use the thread queue name contained in the mutex object. It is 
there for exactly this purpose. The name field is also in the Newlib 
lock objects. So this is pretty stable.

-- 
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