aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.c
diff options
context:
space:
mode:
authorTom Tromey2012-08-19 03:36:50 -0600
committerTom Tromey2012-08-19 03:36:50 -0600
commit266c1c2fd96e4b25d755838dcf68c0c992a8a263 (patch)
treec0b812d927e70422f2c404ac872eb5a58a0926e6 /src/thread.c
parent1fb339bccd65db50adc2ad7f7290099808fc439d (diff)
downloademacs-266c1c2fd96e4b25d755838dcf68c0c992a8a263.tar.gz
emacs-266c1c2fd96e4b25d755838dcf68c0c992a8a263.zip
minor docstring fixup
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/thread.c b/src/thread.c
index 4c21418d1c3..608c3b8d8f1 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -348,9 +348,9 @@ CONDITION is the condition variable to wait on.
348The mutex associated with CONDITION must be held when this is called. 348The mutex associated with CONDITION must be held when this is called.
349It is an error if it is not held. 349It is an error if it is not held.
350 350
351This atomically releases the mutex and waits for CONDITION to be 351This releases the mutex and waits for CONDITION to be notified. When
352notified. When `condition-wait' returns, the mutex will again be 352`condition-wait' returns, the mutex will again be locked by this
353locked by this thread. */) 353thread. */)
354 (Lisp_Object condition) 354 (Lisp_Object condition)
355{ 355{
356 struct Lisp_CondVar *cvar; 356 struct Lisp_CondVar *cvar;
@@ -402,7 +402,7 @@ If ALL is non-nil, all waiting threads are awoken.
402The mutex associated with CONDITION must be held when this is called. 402The mutex associated with CONDITION must be held when this is called.
403It is an error if it is not held. 403It is an error if it is not held.
404 404
405This atomically releases the mutex when notifying CONDITION. When 405This releases the mutex when notifying CONDITION. When
406`condition-notify' returns, the mutex will again be locked by this 406`condition-notify' returns, the mutex will again be locked by this
407thread. */) 407thread. */)
408 (Lisp_Object condition, Lisp_Object all) 408 (Lisp_Object condition, Lisp_Object all)