Language Environment® services

What is COBOL multithreading and how does it relate to PL/I multitasking?

COBOL multithreading is the support of multiple programs running at the same time in the same address space in the same process. It can be initiated by COBOL programs calling pthread_create or C programs doing "pthread create". It is compatible with PL/I multitasking in that multiple PL/I tasks can call COBOL programs when they are compiled with the THREAD compiler option.

PL/I can initiate multitasking using native language and manage the interaction between the separate tasks.

Note: COBOL mutlithreading is not related to the CICS® concept of 'threadsafe'.