pset_getattr.2 (2010 09)
p
pset_getattr(2) pset_getattr(2)
PSET_OWNER_EXEC
The processor set owner has EXEC access.
PSET_OWNER_READ
The processor set owner has READ access.
PSET_OWNER_WRITE
The processor set owner has WRITE access.
A newly created processor set by default has READ and EXEC access for everyone, but WRITE
access only for the processor set owner.
A user with the
PSET privilege or the pset owner may change the value of the
PSET_ATTR_PERM
attribute.
PSET_ATTR_IOINTR
A value of PSET_ATTRVAL_ALLOW
indicates that processors in this processor set are
configured to receive external interrupts. It may be assigned a value of
PSET_ATTRVAL_DISALLOW
to disable all processors in the processor set from receiving and
processing external I/O interrupts. Not all platforms may support this feature. By default, I/O
interrupts are enabled on all processors. The feature may be useful for some realtime applica-
tions where unpredictable interrupt handling overhead may adversely impact the application’s
response time requirements.
Only a user with the
PSET privilege may change this attribute.
PSET_ATTR_NONEMPTY
Indicates the behavior when a request to destroy a non-empty processor set is made through
the pset_destroy() function. Possible values are:
PSET_ATTRVAL_DFLTPSET
Reassign all processors in the processor set pset to the system default processor set.
Migrate all threads and processes bound to this processor set to the system default
processor set. This is the default value for this attribute.
PSET_ATTRVAL_FAIL
Make the request fail with an [EBUSY] error if there are threads or processes
bound to the processor set or if there are processors assigned to the processor set.
PSET_ATTRVAL_FAILBUSY
Make the request fail with an [EBUSY] error if there are active threads or
processes bound to the processor set. Otherwise, perform the operation by reassign-
ing the processors in the pset to the system default processor set.
A user with the
PSET privilege or a user with WRITE permissions may change the value of
this attribute.
PSET_ATTR_EMPTY
Indicates the behavior when a request to bind a process or a thread to an empty processor set is
made through the pset_bind() function. Possible values are:
PSET_ATTRVAL_ALLOW
Go through with the request. However, the affected threads will not be scheduled to exe-
cute until a processor is assigned to the empty processor set.
PSET_ATTRVAL_FAIL
Reject the request with an [EINVAL] error. This is the default value for this attribute.
A user with the
PSET privilege or a user with WRITE permissions may change the value of this
attribute.
PSET_ATTR_LASTSPU
Indicates the behavior when a request to remove the last processor from a processor set is made
through the pset_assign() function, or through the processor deallocation functionality. Possi-
ble values are:
PSET_ATTRVAL_FAIL
Make the request fail if there are active threads and processes assigned to the processor
set.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010