The os_evt_wait_and function waits for all the events specified in the wait_flags to occur. The function only waits on events whose corresponding flags have been set to 1 in the wait_flags parameter. The function can wait on as many as 16 different event