Crate proc_lock_macro

Source

Attribute Macrosยง

proc_lock
Wraps the annotated function with a blocking lock that is released when the function is returned.