condition.c File Reference

#include <config.h>
#include <errno.h>
#include <isc/condition.h>
#include <isc/msgs.h>
#include <isc/strerror.h>
#include <isc/string.h>
#include <isc/time.h>
#include <isc/util.h>

Go to the source code of this file.

Functions

isc_result_t isc_condition_waituntil (isc_condition_t *c, isc_mutex_t *m, isc_time_t *t)


Detailed Description

Definition in file condition.c.


Function Documentation

isc_result_t isc_condition_waituntil ( isc_condition_t c,
isc_mutex_t m,
isc_time_t t 
)

POSIX defines a timespec's tv_nsec as long. isc_time_nanoseconds ensures its return value is < 1 billion, which will fit in a long.

Definition at line 34 of file condition.c.

References isc__strerror(), ISC_MSG_RETURNED, isc_msgcat_get(), ISC_MSGSET_GENERAL, ISC_R_RANGE, ISC_R_SUCCESS, ISC_R_TIMEDOUT, ISC_R_UNEXPECTED, ISC_STRERRORSIZE, isc_time_nanoseconds(), isc_time_secondsastimet(), REQUIRE, and UNEXPECTED_ERROR.


Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha