RTEMS | Follow-up from "cpukit/libio: Support close with IOP references held" (#5411)

Allan Hessenflow (@allanhessenflow) gitlab at rtems.org
Fri Jan 16 16:51:19 UTC 2026




Allan Hessenflow commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5411#note_138967


On further reflection the possible fix above is certainly incorrect. A better fix would be to replace the test !rtems_ibio_iop_is_free() inside rtems_libio_free_iop() with an atomic test and set of LIBIO_FLAGS_FREE prior to the rtems_libio_lock(). I don't know about spintrcritical24.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5411#note_138967
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/20260116/f9eebf84/attachment.htm>


More information about the bugs mailing list