call "CBL_THREAD_RESUME" using by value thread-id
Using call prototype (see Key) | Picture | |
---|---|---|
thread-id | cblt-pointer | usage pointer. |
thread-id | A pointer to the thread identifier |
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.