[RTEMS Project] #3132: Add reference counting to file descriptors

RTEMS trac trac at rtems.org
Fri Sep 15 09:01:32 UTC 2017


#3132: Add reference counting to file descriptors
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  accepted
 Priority:  normal           |   Milestone:  4.12.0
Component:  filesystem       |     Version:  4.12
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"baef823cd550449bfbcc36625b9571389d8ad1af/rtems"
 baef823c/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="baef823cd550449bfbcc36625b9571389d8ad1af"
 libio: Add hold/drop iop reference

 Check iop reference count in close() and return -1 with errno set to
 EBUSY in case the file descriptor is still in use.

 Update #3132.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3132#comment:18>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list