Memory management and multithread safety

The properties interface takes care of memory management for you. The only responsibility you have for cleaning up memory involves the instances you allocate on the heap--if you create an instance, you must also destroy it.

To ensure multithread safety, use copies rather than sharing instances. The design of the Properties interface makes every effort to ensure that the implementation of copy semantics is efficient.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker