RTEMS | Reformat cpukit score src thread (!238)

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Sep 24 00:50:23 UTC 2024




Gedare Bloom commented on a discussion on cpukit/score/src/threadqenqueue.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/238#note_112477

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

thanks, I'll look at it

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/238#note_112477
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/ba60a9aa/attachment.htm>


More information about the bugs mailing list