call "CBL_THREAD_SELF" using by reference 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:
The run-time system returns the thread identifier and stores it in thread-id.
You can check that the run-time system under which your program is running supports multi-threading by a call to CBL_THREAD_SELF.