class AutoExpiringPreemptDisabler

Defined at line 183 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h

AutoExpiringPreemptDisabler is an RAII helper that defers preemption of the

current thread until either |max_deferral_duration| nanoseconds after

preemption is requested or the object is destroyed, whichever comes first.

Public Methods

void AutoExpiringPreemptDisabler (zx_duration_mono_t max_deferral_duration)

Defined at line 185 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h

void ~AutoExpiringPreemptDisabler ()

Defined at line 189 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h

void AutoExpiringPreemptDisabler (const AutoExpiringPreemptDisabler & )

Defined at line 195 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h

AutoExpiringPreemptDisabler & operator= (const AutoExpiringPreemptDisabler & )

Defined at line 196 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h

void AutoExpiringPreemptDisabler (AutoExpiringPreemptDisabler && )

Defined at line 197 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h

AutoExpiringPreemptDisabler & operator= (AutoExpiringPreemptDisabler && )

Defined at line 198 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h