Added C example of WaitSet with StatusCondition

Added C example of WaitSet with StatusCondition