Skip to main content

lock_ordering

Macro lock_ordering 

Source
lock_ordering!() { /* proc-macro */ }
Expand description

This macro takes a definition of the lock ordering graph in the form of lock_ordering!{ Unlocked -> A, A -> B, Unlocked -> C, }

and defines the edges as LockLevel.