LWN.net Logo

Toward a safer fput()

Toward a safer fput()

Posted Apr 29, 2012 19:47 UTC (Sun) by BenHutchings (subscriber, #37955)
Parent article: Toward a safer fput()

This is a general problem with finalisers, whether they're triggered by reference counting or 'real' garbage collection. Pretty much any reference-counted resource that requires non-trivial cleanup when the last reference is dropped should use deferred finalisation by default.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds