class AnnotatedAutoPreemptDisabler
Defined at line 85 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h
AnnotatedAutoPreemptDisabler is an RAII helper which is almost identical in
functionality to the AutoPreemptDisabler. The main difference is that the
Annotated version will automatically acquire/release the
preempt_disabled_token, allowing it to be used in situations where static
analysis demands proof that preemption has been disabled before a method can
be called.
Public Methods
void AnnotatedAutoPreemptDisabler ()
Defined at line 87 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h
void ~AnnotatedAutoPreemptDisabler ()
Defined at line 91 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h
void Enable ()
Enables preemption if it was previously disabled by this instance.
Defined at line 94 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h
void AnnotatedAutoPreemptDisabler (const AutoPreemptDisabler & )
Defined at line 101 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h
AnnotatedAutoPreemptDisabler & operator= (const AutoPreemptDisabler & )
Defined at line 102 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h
void AnnotatedAutoPreemptDisabler (AutoPreemptDisabler && )
Defined at line 103 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h
AnnotatedAutoPreemptDisabler & operator= (AutoPreemptDisabler && )
Defined at line 104 of file ../../zircon/kernel/include/kernel/auto_preempt_disabler.h