Loading...
Select Version
&pagelevel(3)&pagelevel
A subsystem which works with its own global data can encapsulate itself.
This has the following advantages:
The subsystem is independent of the various versions of a component which may be present both in the environment and in the subsystem.
The internal statuses of the language runtime systems of the application and the subsystem do not interfere with one another.
At the same time, encapsulation imposes the following restrictions:
Global jumps (e.g. longjump in C) from the subsystem to the application are not possible.
Events from the subsystem cannot be propagated to the application.