Includes unit test for condition variables in C (previous test was C++ only)
- Move the code that was in the document out to an example