TasMutex.locked

Lock, call dg(), then unlock.

struct TasMutex
shared
void
locked
(
scope void delegate
()
dg
)

Parameters

dg void delegate
()

A scoped callback that is called only while this is locked.

Meta