Function cvm_timedwait

Function Documentation

status_t cvm_timedwait(struct cvm *cvm, const struct timespec *to)

Timed wait on a condition variable while holding a mutex.

Parameters:
  • cvm – The CVM handle.

  • to – A RELATIVE timeout, NOT an ABSOLUTE timeout, as the POSIX standard specifies. This function converts the relative timeout to absolute timeout required.

Returns:

status_t