Rocket® Net Express™ (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
Using CBL_THREAD_SELF to Check Operating System
You can use CBL_THREAD_SELF to check that the operating system supports multi-threading as follows:
call 'cbl_thread_self' using thread-id
on exception
*> no cbl_thread api support
end-call
if return-code = 1008
*> running in a single threaded only rts
end-if