Kinsey Moore started a new discussion on cpukit/libcsupport/src/libio.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1048#note_142005 > void rtems_libio_free_iop( rtems_libio_t *iop ) > { > size_t zero; > + unsigned int flags; > > + flags = rtems_libio_iop_flags_set( iop, LIBIO_FLAGS_FREE ); > + if ( (flags & LIBIO_FLAGS_FREE ) == 0 ) { > rtems_libio_lock(); How is check and then lock not a data race? -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1048#note_142005 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
