Re: [PATCH 18/45] score: Add Thread_queue_Control::Lock

2015-05-18 Thread Gedare Bloom
On Mon, May 18, 2015 at 3:20 AM, Sebastian Huber wrote: > > > On 17/05/15 14:14, Gedare Bloom wrote: >> >> On Sun, May 17, 2015 at 7:04 AM, Gedare Bloom wrote: >>> >>> On Fri, May 15, 2015 at 7:41 AM, Sebastian Huber >>> wrote: /** - * @brief Gets a pointer to the "first" threa

Re: [PATCH 18/45] score: Add Thread_queue_Control::Lock

2015-05-18 Thread Sebastian Huber
On 17/05/15 14:14, Gedare Bloom wrote: On Sun, May 17, 2015 at 7:04 AM, Gedare Bloom wrote: On Fri, May 15, 2015 at 7:41 AM, Sebastian Huber wrote: /** - * @brief Gets a pointer to the "first" thread on the_thread_queue. + * @brief Returns the first thread on the thread queue if it exist

Re: [PATCH 18/45] score: Add Thread_queue_Control::Lock

2015-05-17 Thread Gedare Bloom
On Sun, May 17, 2015 at 7:04 AM, Gedare Bloom wrote: > On Fri, May 15, 2015 at 7:41 AM, Sebastian Huber > wrote: >> /** >> - * @brief Gets a pointer to the "first" thread on the_thread_queue. >> + * @brief Returns the first thread on the thread queue if it exists, >> otherwise >> + * @c NULL (

Re: [PATCH 18/45] score: Add Thread_queue_Control::Lock

2015-05-17 Thread Gedare Bloom
On Fri, May 15, 2015 at 7:41 AM, Sebastian Huber wrote: > Move the complete thread queue enqueue procedure into > _Thread_queue_Enqueue_critical(). It is possible to use the thread > queue lock to protect state of the object embedding the thread queue. > This enables per object fine grained locki