Product Documentation

Database Administrator's Guide

Previous Topic

Next Topic

UDEFER_THRESHOLD_USEC

UDEFER_THRESHOLD_USEC

An internal defer routine takes a microsecond sleep argument. However, not all systems provide a useful implementation of a microsecond or nanosecond sleep routine. The UDEFER_THRESHOLD_USEC and UDEFER_64YIELD_USEC configuration options force this routine to make multiple calls to defer(0), which causes a thread yield, to generate shorter (more accurate) sleep intervals.

UDEFER_THRESHOLD_USEC <usec value below which yield calls used>

UDEFER_64YIELD_USEC <usec duration of 64 consecutive yield calls>

Even if the microsecond sleep has provisions for consecutive yields, it will not take effect unless both the DEFER_THRESHOLD_USEC and UDEFER_64YIELD_USEC appear with non-zero values.

See Also

TOCIndex