Creating threads
Threads are created as follows.
The successful completion of:
- The pthread_create service
- The fork or exec service
- Most z/OS UNIX service requests from an undubbed MVS™ task
A single-threaded process is created with fork, with exec, or by the invocation of a kernel service from within an MVS address space.
Multiple-threaded processes can be created with pthread_create.
The IPT and all pthread_created threads are referred to as pthreads. All future pthread_create requests attach subtasks to the IPT, even though they are not issued by the IPT. This is important in thread termination. For a complete description of the process of creating threads, see pthread_create (BPX1PTC, BPX4PTC) — Create a thread.