CBL_THREAD_RESUME

Resumes a thread that was or will be suspended by CBL_THREAD_SUSPEND.

Syntax:
call "CBL_THREAD_RESUME" using by value thread-id
Parameters:
Using call prototype (see Library Routines - Key) Picture (32-bit systems)
thread-id cblt-pointer usage pointer.
On Entry:
thread-id A pointer to the thread identifier
On Exit:
return-code A value indicating success or otherwise. See RETURN-CODE Values For Thread-control Routines
Comments:

If the specified thread is suspended when a call to this routine is made, then RETURN-CODE is set to 0. If the specified thread was not suspended then the RETURN-CODE is set to the negative value of the number of times the target thread will have to call CBL_THREAD_SUSPEND before its execution is actually suspended.

Behavior is undefined if thread-id is invalid.

See Also: