Freeze level: same team

A team is defined as a collection of related threads associated with a task. Such a collection shares a common address space---a requirement that must be satisfied in order to specify kSameTeam as the freeze level for a stream. Knowing that objects saved as a persistent stream will be restored to the same address space makes it possible to save pointers to objects instead of the actual objects themselves. As long as you know these pointers will remain active during the life of the team, using a kSameTeam is the most efficient form of persistence as it writes the least amount of information to the stream. Same team persistence can save considerable space and time.


[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