CEEOPAI
C library interface: pthread_attr_init()
CEEOPAI initializes a thread attribute object, attr. The resulting thread attribute object (possibly modified by subsequent assignment to its members), when used by the create thread function, defines the attributes for the thread to be created.
A single thread attribute object can be used multiple times, thus creating a number of threads with the same characteristics. It is the user's responsibility to serialize changes to the thread attribute object.
Syntax
void CEEOPAI (attr,
[fc])
CEE_PTAT *attr;
FEED_BACK *fc;
- CEEOPAI
- Call this CWI interface as follows:
L R15,CEECAALEOV-CEECAA(,R12) CAA address is in R12 L R15,0124(,R15) BALR R14,R15
- attr (input)
- The user-supplied thread attribute object to be initialized. The thread attribute object is defined by the C/C++ typedef of pthread_attr_t in the sys/types.h header.
- fc (output/optional)
- The feedback code returned by the service. It indicates the degree of success in initializing the new thread attribute object.
The following message identifiers and associated severities can be returned by the service in the feedback code fc.
Condition | Description type | Description value |
---|---|---|
CEE000 | Severity | 0 |
Msg_No | 0000 | |
Message | The service completed successfully. |