Multiplexing (Deprecated)

The scenario where two or more processes or threads share a single connection or resource is known as multiplexing. When two or more connections to a server share a single process, the connections are multiplexed. By default, the API will multiplex connections to a single server to reduce server resources used. The second connection to a server from an application will initiate the creation of an SCB and its associated server context, but will not create a separate physical connection to the server. Users should not depend upon default settings. Rather, if your application needs multiplexing behavior, you should explicitly set this behavior by using the appropriate EDASET instruction.

Multiplexing has been deprecated in favor of semiplexing. To use semiplexing, multiplexing behavior should be turned off. Multiplexed behavior must be turned off using the EDA_VAR_NO_MPLEX (127) variable. The setting of this variable to one (1) will cause each application request to initiate a separate physical server process or task. This behavior provides greater context independence to SCBs.


iWay Software