RTEMS | Reformat cpukit score src thread (!238)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Sep 24 00:21:42 UTC 2024




Sebastian Huber started a new discussion on cpukit/score/src/threadqenqueue.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/238#note_112472

 >    the_thread->Wait.return_code = STATUS_SUCCESSFUL;
 >    _Thread_Wait_flags_set( the_thread, THREAD_QUEUE_INTEND_TO_BLOCK );
 >    cpu_self = _Thread_queue_Dispatch_disable( queue_context );
 > -  _Thread_queue_Queue_release( queue, &queue_context->Lock_context.Lock_context );
 > -
 > -  ( *queue_context->enqueue_callout )(
 > +  _Thread_queue_Queue_release(
 >      queue,
 > -    the_thread,
 > -    cpu_self,
 > -    queue_context
 > +    &queue_context->Lock_context.Lock_context
 >    );
 >  
 > +  ( *queue_context
 > +       ->enqueue_callout )( queue, the_thread, cpu_self, queue_context );

This one is similar to the `.pin` case above.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/238#note_112472
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240924/2a2984bf/attachment.htm>


More information about the bugs mailing list