10.4 Thread synchronisation
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Multithreaded applications
Thread synchronisation
mutex_create/1
mutex_create/2
mutex_destroy/1
with_mutex/2
mutex_lock/1
mutex_trylock/1
mutex_unlock/1
mutex_unlock_all/0
mutex_property/2
Packages
Availability:
built-in
mutex_create
(
?MutexId
)
Create a mutex. If
MutexId
is an atom, a
named
mutex is created. If it is a variable, an anonymous mutex reference is returned. Anonymous mutexes are subject to (atom) garbage collection.