diff options
| author | Tom Tromey | 2012-08-19 03:36:50 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-19 03:36:50 -0600 |
| commit | 266c1c2fd96e4b25d755838dcf68c0c992a8a263 (patch) | |
| tree | c0b812d927e70422f2c404ac872eb5a58a0926e6 /src/thread.c | |
| parent | 1fb339bccd65db50adc2ad7f7290099808fc439d (diff) | |
| download | emacs-266c1c2fd96e4b25d755838dcf68c0c992a8a263.tar.gz emacs-266c1c2fd96e4b25d755838dcf68c0c992a8a263.zip | |
minor docstring fixup
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 8 |
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. | |||
| 348 | The mutex associated with CONDITION must be held when this is called. | 348 | The mutex associated with CONDITION must be held when this is called. |
| 349 | It is an error if it is not held. | 349 | It is an error if it is not held. |
| 350 | 350 | ||
| 351 | This atomically releases the mutex and waits for CONDITION to be | 351 | This releases the mutex and waits for CONDITION to be notified. When |
| 352 | notified. When `condition-wait' returns, the mutex will again be | 352 | `condition-wait' returns, the mutex will again be locked by this |
| 353 | locked by this thread. */) | 353 | thread. */) |
| 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. | |||
| 402 | The mutex associated with CONDITION must be held when this is called. | 402 | The mutex associated with CONDITION must be held when this is called. |
| 403 | It is an error if it is not held. | 403 | It is an error if it is not held. |
| 404 | 404 | ||
| 405 | This atomically releases the mutex when notifying CONDITION. When | 405 | This 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 |
| 407 | thread. */) | 407 | thread. */) |
| 408 | (Lisp_Object condition, Lisp_Object all) | 408 | (Lisp_Object condition, Lisp_Object all) |