Single-threaded concurrency model

The View System presents a single-threaded concurrency model by serializing calls on a view's member functions. The View System enforces this serialization by encapsulating function calls from objects outside of a view's thread of execution into packages called requests and putting the requests onto a request queue. A request handler removes requests from the queue one at a time. An important element of this single-threaded concurrency model is that a view does not directly access its parent in a view hierarchy. Giving the parent view ultimate control over its children helps to prevent deadlock situations and ensure data integrity.


[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