template <typename LockPolicy>

class Guard

Defined at line 32 of file ../../zircon/system/ulib/uart/include/lib/uart/sync.h

The |Guard| consists of any environment specific scoped capability that presents itself

as a RAII for acquiring the opaque |LockType|.

* |Guard| must be constructible from (|Lock*|, const char* |id|).

* |LockPolicy| is forwarded to |Guard| type.

Public Methods

template <typename LockType>
void Guard<LockPolicy> (LockType * lock, const char * tag)

Defined at line 35 of file ../../zircon/system/ulib/uart/include/lib/uart/sync.h

void ~Guard<LockPolicy> ()

Defined at line 36 of file ../../zircon/system/ulib/uart/include/lib/uart/sync.h