Did you know ... Search Documentation:
Predicate with_mutex/2