blob: e939a6e0ecaa9e694c5841fdae1cfd90ced7773f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<h4 class="subsection">Mutex Type</h4> <p>A <em>mutex</em> is an exclusive lock that threads can own and disown, in order to synchronize between them. See <a href="mutexes">Mutexes</a>. </p> <p>Mutex objects have no read syntax. They print in hash notation, giving the name of the mutex (if it has been given a name) or its address in core: </p> <div class="example"> <pre class="example">(make-mutex "my-mutex")
⇒ #<mutex my-mutex>
(make-mutex)
⇒ #<mutex 01c7e4e0>
</pre>
</div><div class="_attribution">
<p class="_attribution-p">
Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
<a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Mutex-Type.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Mutex-Type.html</a>
</p>
</div>
|