call "CBL_THREAD_WAIT" using by value thread-id
                       by reference   thr-return
                       returning      status-code 
               	 | Using call prototype (see Key) | Picture | |
|---|---|---|
| thread-id | cblt-pointer | usage pointer. | 
| thr-return | cblt-pointer | usage pointer. | 
thread-id A pointer to the thread identifier
| thr-return | The thread's return value. Note: For 64-bit Windows applications, this value is limited to 32-bit values, and so cannot be used to return memory addresses.
                                    					 
                                  | 
| status-code | See RETURN-CODE Values For Thread-control Routines | 
Comments:
The behavior of this routine is undefined if:
If the routine is successful, the thread's return value is stored in thr-return, the target thread is detached, and the call returns 0.