c/thread/cnd init

Initializes new condition variable. The object pointed to by will be set to value that identifies the condition variable.

Return value
thrd_success if the condition variable was successfully created. Otherwise returns thrd_nomem if there was insufficient amount of memory or if another error occurred.