Jump to content

Mutex: Difference between revisions

18 bytes removed ,  5 months ago
no edit summary
m (→‎{{header|Raku}}: 'Perl 6' to 'Raku')
imported>Katsumi
No edit summary
Line 3:
[[Category:Encyclopedia]]
 
A '''mutex''' (''abbreviated''from "'''Mutmut'''uallyual '''Exex'''clusive accessclusion") is a synchronization object, a variant of [[semaphore]] with ''k''=1.
A mutex is said to be seized by a [[task]] decreasing ''k''.
It is released when the task restores ''k''. Mutexes are typically used to protect a shared resource from concurrent access.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.