|
|
The Commons
Patent Title: Controlling method invocation sequence through virtual functions in an objectoriented class library Abstract: A mechanism for controlling method invocation and avoiding problems such as premature method execution before object construction and premature object destruction before method completion, is provided through a protocol function table in a class library. For any virtual functions declared in a class library, the thread of control invoking the function is re-directed through the protocol function table where it is either selectively accepted or delayed for later acceptance pending completion of some related procedure. When used in conjunction with an automatic routine for locating the originating point in an operating program, the protocol function table is particularly useful for executing concurrency in object-oriented applications. Notes: |