Describe handling of NULLs passed to pthread_setcancelstate().

PR:		docs/31745
Submitted by:	Andrew <andrew@ugh.net.au>
This commit is contained in:
Murray Stokely 2001-11-05 08:21:32 +00:00
parent fba9768c41
commit 5e77dc7342
3 changed files with 30 additions and 6 deletions

View File

@ -23,7 +23,11 @@ The
function atomically both sets the calling thread's cancelability state
to the indicated
.Fa state
and returns the previous cancelability state at the location referenced by
and, if
.Fa oldstate
is not
.Dv NULL ,
returns the previous cancelability state at the location referenced by
.Fa oldstate .
Legal values for
.Fa state
@ -37,7 +41,11 @@ The
function atomically both sets the calling thread's cancelability type
to the indicated
.Fa type
and returns the previous cancelability type at the location referenced by
and, if
.Fa oldtype
is not
.Dv NULL ,
returns the previous cancelability type at the location referenced by
.Fa oldtype .
Legal values for
.Fa type

View File

@ -23,7 +23,11 @@ The
function atomically both sets the calling thread's cancelability state
to the indicated
.Fa state
and returns the previous cancelability state at the location referenced by
and, if
.Fa oldstate
is not
.Dv NULL ,
returns the previous cancelability state at the location referenced by
.Fa oldstate .
Legal values for
.Fa state
@ -37,7 +41,11 @@ The
function atomically both sets the calling thread's cancelability type
to the indicated
.Fa type
and returns the previous cancelability type at the location referenced by
and, if
.Fa oldtype
is not
.Dv NULL ,
returns the previous cancelability type at the location referenced by
.Fa oldtype .
Legal values for
.Fa type

View File

@ -23,7 +23,11 @@ The
function atomically both sets the calling thread's cancelability state
to the indicated
.Fa state
and returns the previous cancelability state at the location referenced by
and, if
.Fa oldstate
is not
.Dv NULL ,
returns the previous cancelability state at the location referenced by
.Fa oldstate .
Legal values for
.Fa state
@ -37,7 +41,11 @@ The
function atomically both sets the calling thread's cancelability type
to the indicated
.Fa type
and returns the previous cancelability type at the location referenced by
and, if
.Fa oldtype
is not
.Dv NULL ,
returns the previous cancelability type at the location referenced by
.Fa oldtype .
Legal values for
.Fa type