RTEMS | libi2c: Use RTEMS thread API and support initialization at device driver level (!821)
Gedare Bloom (@gedare)
gitlab at rtems.org
Mon Dec 8 20:19:22 UTC 2025
Gedare Bloom started a new discussion on cpukit/libi2c/libi2c.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/821#note_136985
> {
> rtems_status_code sc;
>
> - if (is_initialized) {
> + if (rtems_libi2c_is_initialized) {
I think you need to acquire the lock in order to ensure this global variable can be safely accessed?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/821#note_136985
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/20251208/8370167c/attachment-0001.htm>
More information about the bugs
mailing list