Gedare Bloom started a new discussion on cpukit/libi2c/libi2c.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/821#note_136986

 >    rtems_status_code err;
 >    rtems_device_minor_number minor;
 >  
 > -  if (libmutex == RTEMS_ID_NONE) {
 > +  if (!rtems_libi2c_is_initialized){

if this function is called w/o the lock held, then need to lock around this 
shared variable?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/821#note_136986
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