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 |
libct_r – Client-Library (Sybase) libcs_r – CS-Library (Sybase) libintl_r – Internationalization support library (Sybase internal) libm – Standard UNIX math library (system) |
Sun Solaris |
libpthread – Thread library (system) socket – Socket network library (system) libnsl – A network library (system) libdl – Dynamic loader library (system) libtcl_r – Transport Control Layer (Sybase internal) libcomn_r – Internal shared utility library (Sybase internal) |
HP 9000(8xx) |
libcl – HP Transport Control Layer (system) libBSD – The BSD library (system) libc_r – C reentrant library libndbm – (system) libtcl_r – Transport Control Layer (Sybase internal) libcomn_r – Internal shared utility library (Sybase internal) |
IBM RS/6000 |
libc_r – C reentrant library libpthreads – Thread library (system) libtcl_r – Transport Control Layer (Sybase internal) libcomn_r – Internal shared utility library (Sybase internal) |
Linux |
libtcl_r – Transport Control Layer (Sybase internal) libc_r – C reentrant library libpthreads – Thread library (system) libtcl_r – Transport Control Layer (Sybase internal) libcomn_r – Internal shared utility library (Sybase internal |