struct sync_mutex
Defined at line 22 of file ../../zircon/system/ulib/sync/include/lib/sync/mutex.h
An optimal, non-recursive mutex on Fuchsia.
The |mutex_t| mutex in the standard library has several quirks in its design
that prevent it from being optimal. For example, the |mutex_t| interface
supports recursion, which adds a branch to |mutex_init| to check that the
client has not asked for recursion, and |mutex_timedlock| operates in
|struct timespec| rather than |zx_instant_mono_t|.
|sync_mutex| resolves these issues.
Public Members
zx_futex_t futex
Public Methods
void sync_mutex ()
Defined at line 26 of file ../../zircon/system/ulib/sync/include/lib/sync/mutex.h