Proposal: Automatic Resource Management

Stefan Schulz schulz at
Sun Mar 8 04:19:39 PDT 2009

Just a thought (although I contradict one of my earlier posts): If Locks 
seem important for being handled by ARM (and I think they are), why not 
allow a seperate Interface for ARM that results in the appropriate code? 
Maybe a reduced Lock-Interface (e.g. ManagableLock) only containing the 
methods lock() and unlock().

The main argument to me for treating Locks additionally to closable 
resources is to give a more complete resource management construct to 
developers that prevents the (to be expected) ugly solution as being 
discussed on this list.


More information about the coin-dev mailing list