summaryrefslogtreecommitdiff
path: root/devdocs/elisp/mutex-type.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/mutex-type.html
new repository
Diffstat (limited to 'devdocs/elisp/mutex-type.html')
-rw-r--r--devdocs/elisp/mutex-type.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/devdocs/elisp/mutex-type.html b/devdocs/elisp/mutex-type.html
new file mode 100644
index 00000000..e939a6e0
--- /dev/null
+++ b/devdocs/elisp/mutex-type.html
@@ -0,0 +1,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")
+ ⇒ #&lt;mutex my-mutex&gt;
+(make-mutex)
+ ⇒ #&lt;mutex 01c7e4e0&gt;
+</pre>
+</div><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 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>