Program a thread-safe ESQL/C application

This section provides useful hints for how to create thread-safe applications.

It discusses the following programming techniques for a thread-safe environment:
  • Establishing concurrent active connections
  • Using connections across threads
  • Disconnecting all connections
  • Using prepared statements across threads
  • Using cursors across threads
  • Accessing environment variables
  • Handling decimal values
  • Handling DCE restrictions (UNIX™)