CBL_THREAD_SELFルーチンを使用して、OSがマルチスレッドをサポートしているかをチェックすることができる。
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