Sebastian Huber commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/282#note_114675


I changed the structure to make it more clear which members are for the user 
and which are internal.

The `size_t` definition implies that it can be used for array indices. Since 
the `cpu_todo` is related to an array index, this is the right type. You can't 
use `uint32_t` for array indices on a 64-bit platform in general. Using 
`uint64_t` on 32-bit platforms could be a performance issue. These two issues 
are not present if you use `size_t`.

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to