RTEMS | Reformat cpukit score src thread (!238)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Sep 26 22:05:39 UTC 2024




Kinsey Moore started a new discussion on cpukit/score/src/threadqextractwithproxy.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/238#note_112608

 >      _States_Is_waiting_for_rpc_reply( state ) &&
 >      _States_Is_locally_blocked( state )
 >    ) {
 > -    Objects_Id                            id;
 > -    const Objects_Information            *the_information;
 > -    Objects_Thread_queue_Extract_callout  proxy_extract_callout;
 > +    Objects_Id                           id;
 > +    const Objects_Information           *the_information;
 > +    Objects_Thread_queue_Extract_callout proxy_extract_callout;
 >  
 > -    id = the_thread->Wait.remote_id;
 > -    the_information = _Objects_Get_information_id( id );
 > +    id                    = the_thread->Wait.remote_id;
 > +    the_information       = _Objects_Get_information_id( id );

I'm not a fan of either one of these types of alignments, but especially the assignment alignment given our 80 column limit.

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


More information about the bugs mailing list