OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

2.9.2 Execution of functions not suited to multi-threading

In a multi-thread environment, if the dc_rpc_call_s function and the dc_clt_cltin_s function are issued in different threads, they might operate incorrectly.

The following figures show examples of executing functions not suited to a multi-thread environment.

Figure 2-35 Execution of functions not suited to a multi-thread environment (example 1)

[Figure]

Figure 2-36 Execution of functions not suited to a multi-thread environment (example 2)

[Figure]

To ensure suitability when executing functions in a multi-thread environment, keep the following points in mind: