18.3.35. pmix_bind_envelope_t
pmix_bind_envelope_t — Selects which threads are considered when getting a process cpuset
18.3.35.1. SYNTAX
18.3.35.1.1. C Syntax
#include <pmix_common.h>
typedef uint8_t pmix_bind_envelope_t;
#define PMIX_CPUBIND_PROCESS 0
#define PMIX_CPUBIND_THREAD 1
18.3.35.2. DESCRIPTION
The pmix_bind_envelope_t datatype is a uint8_t that defines the envelope of
threads within a possibly multi-threaded process that are to be considered when
getting the cpuset associated with the process. Valid values include:
PMIX_CPUBIND_PROCESS(0)Use the location of all threads in the possibly multi-threaded process.
PMIX_CPUBIND_THREAD(1)Use only the location of the thread calling the API.
A process whose threads are not all bound to the same location may return
inconsistent results from calls made by different threads when the
PMIX_CPUBIND_THREAD envelope was used to generate the cpuset.
The pmix_bind_envelope_t value is passed to PMIx_Get_cpuset(3) to control which threads are considered when populating a pmix_cpuset_t(5).
See also