CEEOPCB
C library interface: pthread_cond_broadcast()
CEEOPCB unblocks all threads (if any) that are waiting (blocked) on the condition object referred to by cond. This call has no effect if there are no threads waiting on the condition object.
Syntax
void CEEOPCB (cond,
[fc])
CEE_TOKEN *cond;
FEED_BACK *fc;
- CEEOPCB
- Call this CWI interface as follows:
L R15,CEECAALEOV-CEECAA(,R12) CAA address is in R12 L R15,0224(,R15) BALR R14,R15
- cond (input)
- The condition object on which other threads can be blocked.
- fc (output/optional)
- The feedback code returned by the service. It indicates the degree of success in signaling the condition.
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. | |
CEE4S9 | Severity | 3 |
Msg_No | 5001 | |
Message | The service is unavailable unless POSIX(ON) runtime option specified and z/OS UNIX System Services are started. | |
CEE5IU | Severity | 3 |
Msg_No | 5726 | |
Message | The condition object specified by cond is not initialized. | |
CEE5IV | Severity | 3 |
Msg_No | 5727 | |
Message | Unexpected return code from z/OS UNIX condition post, BPX1CPO, callable service. | |
CEE5J0 | Severity | 4 |
Msg_No | 5728 | |
Message | Address exception while referencing storage allocated by condition initialization for cond_t object specified by cond. | |
CEE5J3 | Severity | 3 |
Msg_No | 5731 | |
Message | Unexpected return code from z/OS UNIX condition setup, BPX1CSE, callable service. | |
CEE5L3 | Severity | 3 |
Msg_No | 5795 | |
Message | The callable service, BPX1SMC, failed during shared condition variable processing. The system return code was return_code. The reason code was return_code X'00'. |