better error checking on condition variable operations, cleanup

This commit is contained in:
toddouska
2015-11-23 15:13:36 -08:00
parent b9f0243528
commit 91b7cddb7c
3 changed files with 43 additions and 8 deletions

View File

@@ -364,6 +364,9 @@ const char* wc_GetErrorString(int error)
case SIG_VERIFY_E:
return "Signature verify error";
case BAD_COND_E:
return "Bad condition variable operation error";
default:
return "unknown error number";