Base WG Resolution Ref: bwg96-05
Topic: pthread_attr_getguardsize and EINTR


This is an approved Base Working Group Resolution for XSH Issue 5.

Last update: 23 February,1998


								Eastwood #5

 _____________________________________________________________________________

	Topic:			pthread_attr_getguardsize and EINTR
	Relevant Sections:	pthread_attr_getguardsize
	Spec:			XSH Issue 5

Resolution Request:
-------------------


The X/Open CAE CR specifies a return code of EINVAL for
pthread_attr_getguardsize when:

a) the attr object is invalid
b) the parameter guardsize is invalid
c) the parameter guardsize contains an invalid value

but does not specify what an invalid value is. Is this intentional ?
Also, it seems obvious that item (c) only applies to the
pthread_attr_setguardsize function, but it isn't clearly stated.

Resolution Response
-------------------

Yes this is intentional, no value is reserved to be invalid
by the specification. Yes item (c) only applies to the
pthread_attr_setguardsize function, however we believe this
is clearly stated by the specification.

No change to the specification is needed.

Rationale
-------------
None.
Forwarded to Base group: Dec 11 1996
Approved: Feb 23 1998