CEEOPASW
C library interface: pthread_attr_setweight_np()
CEEOPASW sets the threadweight property in the specified thread attribute object.
Syntax
void CEEOPASW (attr, threadweight,
[fc])
CEE_PTAT *attr;
INT4 *threadweight;
FEED_BACK *fc;
- CEEOPASW
- Call this CWI interface as follows:
L R15,CEECAALEOV-CEECAA(,R12) CAA address is in R12 L R15,0152(,R15) BALR R14,R15
- attr (input)
- The initialized thread attribute object.
- threadweight (input)
-
- 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 setting the thread weight attribute.
The following message identifiers and associated severities 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. | |
CEE5F3 | Severity | 3 |
Msg_No | 5603 | |
Message | Value for threadweight is not valid. |