Threads on i5/OS™

All programs have at least one thread, referred to as the initial thread. In a program with multiple threads, each thread runs its code independently of the other threads in the program.

A process is the container for the memory and resources of the program. On IBM® eServer iSeries™ systems, a job represents a process. Each process has at least one thread (task) in which the program runs its code. The first thread in a process is referred to as the initial thread. Some processes are capable of supporting additional threads, which are called secondary threads.

The concepts that are described here pertain to all programming languages. For details about how each language enables a concept, refer to the programmer's guide for that specific language.