add event notify for pthread cond cast