Easysoft ODBC-ODBC Bridge

Can I use a multi-threaded application with ODBC-ODBC Bridge on Linux and if so how?

Last Reviewed:
11th January 2024

Yes, but make sure you download a thread-safe version of Easysoft ODBC-ODBC Bridge. The thread-safe distributions of ODBC-ODBC Bridge are identified by "-mt" in the distribution name.

Do not use this ODBC-ODBC Bridge distribution unless your application is known to be threaded and linked with Linux Threads.

When building your application, add the -pthread switch to gcc and do NOT use -lpthreads. Make sure you use thread-safe/reentrant versions of the library functions (e.g. gethostbyname_r etc.) and define _REENTRANT by adding -D_REENTRANT to your compile lines.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)