Create CondVar.cpp

taken from https://raw.githubusercontent.com/nobody9/openpliPC