NAME
thread_safety — list of libc, libpthread and libgen interfaces that are: Not Thread-Safe, Cancellation Points, Cancel Safe, Async Signal Safe, or Async Cancel Safe
DESCRIPTION
Refer to this manpage when writing thread-safe applications
using libc, libpthread and libgen interfaces.
This manpage gives the list of libc, libpthread and libgen interfaces
that are:
Not Thread-Safe,
Cancellation Points,
Cancel Safe,
Async Signal Safe, or
Async Cancel Safe.
Interfaces That Are Not Thread-Safe
All the interfaces are thread-safe except:
NOTE:
If an interface has a
_r
counterpart, then the
_r
interface is thread-safe, and the non-_r
is not thread-safe.
Cancellation Points
Cancellation Points can occur when a thread is executing in the following interfaces:
NOTE:
A cancellation point WILL NOT occur when a thread is executing
in
isastream()
in a UNIX 2003 conformant application.
Cancel Safe
All the following interfaces are Cancel Safe:
Async Signal Safe
All the following interfaces are Async Signal Safe:
NOTE:
isastream()
is not Async Signal Safe
in a UNIX 2003 conformant application.
Async Cancel Safe
All the following interfaces are Async Cancel Safe:
SEE ALSO
intro(3C),
pthread(3T),
signal(5).
Refer to the threads white papers at the
http://www.devresource.hp.com
and
http://docs.hp.com
web sites.