The CICS_EpiGetEvent call can be made in a polling mode by specifying CICS_EPI_NOWAIT for the Wait parameter. If no event is waiting to be collected, the function returns immediately with an error code. This is the mechanism that you would have to adopt in a single-user single-threaded environment, where the application might alternately poll the keyboard for user activity and poll the EPI for event activity. This mechanism is not recommended.