skip to main content

Procedure Division Statements : YIELD

YIELD
General Format
General rules
The YIELD statement is used in conjunction with the STOP THREAD statement. STOP THREAD requires YIELD to work correctly, otherwise, the thread will NOT be released.
For Example:
         perform thread show-time handle t1.
         STOP THREAD t1.
         perform until exit
            accept w-time from time
            display w-time line 2 pos 70
         end-perform.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left