API: Handle pthread cond signal case where signal is missed.