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

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

2.9.1 Overview of a CUP suitable for multi-threading

All service calls are executed serially. If a service that requires a long period of processing is called, the subsequent service calls will be placed in a wait state.

If you need to call a time-consuming service, multi-threading is useful. Multi-threading allows you to allocate an exclusive thread for a time-consuming service call. While executing a time-consuming service call with the thread, you can execute other service calls with another thread.