class DebugOnlySynchronizationChecker

Defined at line 82 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/synchronization_checker.h

|DebugOnlySynchronizationChecker| only checks synchronization in debug builds.

This ensures zero overhead in release builds.

Public Methods

void DebugOnlySynchronizationChecker (async_dispatcher_t * , ThreadingPolicy )

Defined at line 92 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/synchronization_checker.h

void check ()

Checks for exclusive access.

Defined at line 96 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/synchronization_checker.h

void assume_exclusive ()

Assumes exclusive access without checking. This should only be used

when mutual exclusion is guaranteed via other means (e.g. external

synchronization between two threads).

Defined at line 101 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/synchronization_checker.h