|
|
The Threads Library provides ``wrappers'' for the system calls and library routines listed below. A wrapper is a routine with the same name and interface as another routine, in this case a standard system call or library routine. Wrappers usually do something to modify the behavior of the standard routine, then call the standard routine, and perhaps do something further when the standard routine returns. Many of the Threads Library wrappers cause the system call to affect a single thread instead of the entire process or LWP.
When you compile with -Kthread, references to these routines will automatically access the Threads Library wrapper versions.