Documentation

ODBC Driver Guide

Previous Topic

Next Topic

Thread Safety of c-treeACE ODBC Driver

By default, the c-treeACE ODBC Driver is thread-safe. However, this may not always be desired as it involves overhead on the performance of the system. Single threaded ODBC applications do not require thread safety as only one thread is involved.

To disable the thread safety feature, the following runtime flag is used:

DH_DISABLE_ODBC_THREAD_SAFETY

This flag must be set in dhsql.ini for c-treeACE SQL on Windows NT. In Unix, it will be an environment variable in the setup file.

By default, the thread safety feature is enabled. To disable this feature, set:

DH_DISABLE_ODBC_THREAD_SAFETY = Y

TOCIndex