CEEOPEQ
C library interface: pthread_equal()
CEEOPEQ compares the specified thread identifiers. Upon successful completion of this function, a nonzero value is returned in the result argument if the specified thread identifiers are equal. Otherwise, a zero value is returned.
Syntax
void CEEOPEQ (thread_id1, thread_id2, result,
[fc])
CEE_THDID *thread_id1;
CEE_THDID *thread_id2;
INT2 *result;
FEED_BACK *fc;
- CEEOPEQ
- Call this CWI interface as follows:
L R15,CEECAALEOV-CEECAA(,R12) CAA address is in R12 L R15,0088(,R15) BALR R14,R15
- thread_id1 (input)
- The thread identifier of the first thread.
- thread_id2 (input)
- The thread identifier of the second thread.
- result (output)
- The result of the thread_id comparison. A nonzero value indicates the two thread identifiers are equal and a zero value indicates otherwise.
- fc (output/optional)
- The feedback code returned by the service. It indicates the degree of success in comparing the thread identifiers.
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. |