RTEMS | Improve event record handling (!282)

Sebastian Huber (@sebhub) gitlab at rtems.org
Mon Nov 11 01:34:45 UTC 2024




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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241111/43ead076/attachment.htm>


More information about the bugs mailing list