CEEOPAGW
CEEOPAGW obtains the thread's threadweight attribute from the specified thread attribute object.
C library interface
pthread_attr_getweight_np()
Syntax
void CEEOPAGW (attr, threadweight,
[fc])
CEE_PTAT *attr;
INT4 *threadweight;
FEED_BACK *fc;
- CEEOPAGW
- Call this CWI interface as follows:
L R15,CEECAALEOV-CEECAA(,R12) CAA address is in R12 L R15,0148(,R15) BALR R14,R15
- attr (input)
- The initialized thread attribute object.
- threadweight (output)
-
- 0 - indicates a heavy weight thread.
- 1 - indicates a medium weight thread.
Note: Light weight threads are not supported. - fc (output/optional)
- The feedback code returned by the service. It indicates the degree of success in getting the thread's threadweight attribute.
The following message identifiers and associated severity can be returned by the service in the feedback code fc.
Condition | Description category | Description value |
---|---|---|
CEE000 | Severity | 0 |
Msg_No | 0000 | |
Message | The service completed successfully. | |
CEE5F1 | Severity | 3 |
Msg_No | 5601 | |
Message | Thread attribute object that is not valid was specified. |