[PATCH] score: Document thread queue operations

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Sep 2 07:09:10 UTC 2021


Hello Chris,

thanks for the review, I will send a v2 of the patch.

On 02/09/2021 08:38, Chris Johns wrote:
>>      */
>>     Thread_queue_Enqueue_operation enqueue;
>>   
>>     /**
>> -   * @brief Thread queue extract operation.
>> +   * @brief This operation is used to extract the thread from the thread queue.
>>      *
>> -   * Called by object routines to extract a thread from a thread queue.
>> +   * The extract operation is intended for timeouts, thread restarts, and
>> +   * thread cancellation.  The surrender operation should be used to dequeue a
>> +   * thread from the thread queue.
>  From the start, end, or where it is in the queue?
> 

I think this is clear:

"This operation is used to extract the thread from the thread queue."

A thread is extracted. It doesn't matter at which position it is.

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