LWN.net Logo

Pauses

Pauses

Posted Jul 8, 2010 14:52 UTC (Thu) by nye (guest, #51576)
In reply to: Pauses by etienne
Parent article: The Managed Runtime Initiative

>Basically, the function which create the data allocates it, all functions using the data memlock() it, and every function calls free() when it finishes using that data. Free() decrements a counter and frees the memory when the counter reaches zero.

How would this be different from any other form of reference counting, with its attendant problems?


(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