Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Detaching a thread

The DETACH statement should be used to free the system resources associated with a thread that was attached with the THREAD option.

Read syntax diagramSkip visual syntax diagram>>-DETACH--THREAD--(task-reference)--;-------------------------><
 
THREAD (task-reference)
The THREAD option specifies the thread to be detached.

Normally, this statement would be executed immediately after the WAIT statement for the terminating thread.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)