Files
rtems/cpukit/include
Sebastian Huber c2287ba2cf libio: Robust file descriptor reference counting
There was a race conditon in the reference counting of file descriptors
during a close() operation.  After the call to the close handler, the
rtems_libio_free() function cleared the flags to zero.  However, at this
point in time there may still exist some holders of the file descriptor.
With RTEMS_DEBUG enabled this could lead to failed assertions in
rtems_libio_iop_drop().

Change the code to use only atomic read-modify-write operations on the
rtems_libio_iop::flags.
2020-03-13 09:57:04 +01:00
..
2018-12-27 09:00:59 +01:00
2020-03-02 07:52:21 +01:00
2019-02-28 11:47:33 +01:00
2019-12-20 11:06:13 +01:00