次のように、CBL_THREAD_SELF を使用して、オペレーティング システムでマルチスレッドがサポートされているかどうかを確認できます。
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