PubSub+ Messaging API For C
7.31.0.7
|
Functions | Typedefs | Enumerations | Enumeration Values | Defines |
Items that can be configured for a Context. More...
Macros | |
#define | SOLCLIENT_CONTEXT_PROP_TIME_RES_MS "CONTEXT_TIME_RES_MS" |
The internal timer resolution (in milliseconds). More... | |
#define | SOLCLIENT_CONTEXT_PROP_CREATE_THREAD "CONTEXT_CREATE_THREAD" |
Use SOLCLIENT_PROP_ENABLE_VAL to have the Context thread created automatically (as opposed to the application creating and destroying this thread). More... | |
#define | SOLCLIENT_CONTEXT_PROP_THREAD_AFFINITY "CONTEXT_THREAD_AFFINITY" |
The desired thread affinity mask for the Context thread. More... | |
#define | SOLCLIENT_CONTEXT_PROP_THREAD_AFFINITY_CPU_LIST "CONTEXT_THREAD_AFFINITY_CPU_LIST" |
The desired thread affinity for the Context thread in the form of a comma-separated list of base-10 non-negative integers and dash-separated ranges. More... | |
Items that can be configured for a Context.
#define SOLCLIENT_CONTEXT_PROP_CREATE_THREAD "CONTEXT_CREATE_THREAD" |
Use SOLCLIENT_PROP_ENABLE_VAL to have the Context thread created automatically (as opposed to the application creating and destroying this thread).
#define SOLCLIENT_CONTEXT_PROP_THREAD_AFFINITY "CONTEXT_THREAD_AFFINITY" |
The desired thread affinity mask for the Context thread.
A thread affinity mask is a bit vector in which each bit represents a logical processor that a thread is allowed to run on. Only used if the Context thread is automatically created. For Solaris, only 1 bit can be set (that is, the thread will run on only one processor). Not supported on AIX. A value of zero means the affinity is not set, and the parent's affinity is used. A value of 1 means use processor 0, a value of 2 means use processor 1, a value of 3 means use both processor 0 and 1, and so on. Default: SOLCLIENT_CONTEXT_PROP_DEFAULT_THREAD_AFFINITY
#define SOLCLIENT_CONTEXT_PROP_THREAD_AFFINITY_CPU_LIST "CONTEXT_THREAD_AFFINITY_CPU_LIST" |
The desired thread affinity for the Context thread in the form of a comma-separated list of base-10 non-negative integers and dash-separated ranges.
The union of this property and SOLCLIENT_CONTEXT_PROP_THREAD_AFFINITY is used. Each number (and each number in a range) represents a logical processor that a thread is allowed to run on. Only used if the Context thread is automatically created. For Solaris, only 1 number can be supplied (that is, the thread will run on only one processor). Not supported on AIX or OpenVMS. The empty string means the affinity is not set, and the parent's affinity is used. A value of "0" means use processor 0, a value of "1" means use processor 1, a value of "0,1" or "0-1" means use both processor 0 and 1, and so on. Default: SOLCLIENT_CONTEXT_PROP_DEFAULT_THREAD_AFFINITY_CPU_LIST
#define SOLCLIENT_CONTEXT_PROP_TIME_RES_MS "CONTEXT_TIME_RES_MS" |
The internal timer resolution (in milliseconds).
Valid range is >= 10 and <= 10000. Default: SOLCLIENT_CONTEXT_PROP_DEFAULT_TIME_RES_MS