Client-Library version includes thread-safe libraries which allows developers to create multithreaded applications using POSIX threads.
Refer to “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.
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 9000 (8xx) and HP Itanium |
libcl – HP Transport Control Layer (system) libBSD – The BSD library (system) libc_r – C reentrant library libdld – (system) |
IBM RS/6000 |
libc_r – C reentrant library libpthreads – Thread library (system) |
Linux platforms |
libpthread – Thread library (system) |