DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Threads

System call wrappers

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.


NOTE: The wrappers for the fork and forkall system calls do not change the behavior of those system calls for an application linked with libthread. They perform some housekeeping only when tracing is enabled (that is, when the application is linked with libthreadT). See ``Tracing multithreaded programs''.


Next topic: Timers
Previous topic: Thread-safe libraries

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004