Easysoft ODBC-ODBC Bridge

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

Last Reviewed:
28th October 2008

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

Do not use this OOB 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 library functions (e.g. gethostbyname_r etc) and define _REENTRANT by adding -D_REENTRANT to your compile lines.

If you are using GNU PTH instead of Linux Threads please contact us for availability.

Applies To

Knowledge Base Feedback

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

(* Required Fields)

Oracle is a registered trademark of Oracle Corporation and/or its affiliates.