Added C example of WaitSet with StatusCondition

Added C example of WaitSet with StatusCondition
Merge pull request #8 from rosemwahlin/master

Added C example of WaitSet with StatusCondition