Native thread support

The Client-Library version includes thread-safe libraries that allow developers to create multithreaded applications using POSIX threads.

See “Compile-and-link lines for multithreaded applications” for proper syntax and examples.

Table 1-2 lists the libraries that you need to include to take advantage of all Client-Library capabilities for multithreaded support.

Table 1-2: Platform-specific libraries for multithreaded support

Platform

Required libraries

All platforms

libsybct_r – Client-Library (Sybase) libsybcs_r CS-Library (Sybase) libsybintl_r – internationalization support library (Sybase internal) libsybtcl_r – transport control layer (Sybase internal) libsybcomn_r – internal shared utility library (Sybase internal)

Sun Solaris platforms

libthread – native thread library (system) libpthread – thread library (system) libsocket – socket network library (system) libnsl – a network library (system) libdl – dynamic loader library (system)

HP HP-UX platforms

libclHP transport control layer (system) libBSD – the BSD library (system) libc_r – C reentrant library libdld – dynamic loader library (system)

IBM AIX platforms

libc_r – C reentrant library libpthreads – thread library (system)

Linux platforms

libpthread – thread library (system)