HP-UX Reference (11i v3 07/02) - 3 Library Functions N-Z (vol 7)
p
pthread_processor_bind_np(3T) pthread_processor_bind_np(3T)
(Pthread Library)
[EINVAL] The spu or ldom parameter contains an invalid ID.
[EINVAL] The request parameter is
PTHREAD_GETNEXTSPU_NP
and spu identifies the last
processor.
[EINVAL] The request parameter is
PTHREAD_GETNEXTLDOM_NP
and ldom identifies the last
locality domain.
[EINVAL] The value specified by answer is illegal.
[ESRCH] No thread could be found in the current process that matches the thread ID specified
in tid.
[EPERM] request is
PTHREAD_BIND_ADVISORY_NP
or PTHREAD_BIND_ADVISORY_NP
,
spu is not
PTHREAD_SPUNOCHANGE_NP
, and the caller does not have the appropri-
ate permission to change a threads binding to a specific processor.
[EPERM] The function is
pthread_pset_bind_np()
and thread tid does not have neces-
sary permission to bind to the pset.
AUTHOR
pthread_num_processors_np()
, pthread_num_ldoms_np()
,
pthread_num_ldomprocs_np()
, pthread_spu_to_ldom_np()
,
pthread_processor_id_np()
, pthread_ldom_id_np(),
pthread_processor_bind_np()
, pthread_ldom_bind_np(), and
pthread_pset_bind_np()
were developed by HP.
SEE ALSO
sleep(3C), rtsched(2), mpctl(2), pset_create(2), pset_bind(2), sysconf(2).
STANDARDS CONFORMANCE
pthread_num_processors_np()
: None.
pthread_num_ldoms_np()
: None.
pthread_num_ldomprocs_np()
: None.
pthread_spu_to_ldom_np()
: None.
pthread_processor_id_np()
: None.
pthread_ldom_id_np()
: None.
pthread_processor_bind_np()
: None.
pthread_ldom_bind_np()
: None.
pthread_pset_bind_np()
: None.
232 Hewlett-Packard Company − 5 − HP-UX 11i Version 3: February 2007