[PATCH] score: Add _Thread_Demand_objects_information()

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jan 29 15:57:02 UTC 2021


On 29/01/2021 15:29, dufault at hda.com wrote:

>> On Jan 28, 2021, at 09:13 , Sebastian Huber<sebastian.huber at embedded-brains.de>  wrote:
>>
>>> What's the rationale for "Demand"?  Is that in use other places?
>>>
>>> It sounds odd to me, as if you're insisting the function provide something that it might otherwise decide not to.
>> "Get" was already used. This is a "Get" when we know the identifier is valid. Do you have a better verb?
>>
> Valid_ID_Get?  Or is that getting too wordy?
>
> I like "_ValID_" (i.e. use "ValID" in interface names for validated IDs) but that must break the rules.

What about:

_Thread_Get_objects_information() -> 
_Thread_Get_objects_information_by_id(Objects_Id)

_Thread_Demand_objects_information() -> 
_Thread_Get_objects_information(Thread_Control *)

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