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_trylock
(
+MutexId
)
As
mutex_lock/1
, but if the mutex is held by another thread, this predicates fails immediately.