diff options
| author | Michael Albinus | 2018-08-31 10:47:03 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-08-31 10:47:03 +0200 |
| commit | ac7936cb8f4d4d6706535bfcea0d97741c2ca15f (patch) | |
| tree | 3399f9b5994fda2d8d6254985032803bf5958700 /doc | |
| parent | 3d09d533d15eae2974f3858df43746cf6e8f897b (diff) | |
| download | emacs-ac7936cb8f4d4d6706535bfcea0d97741c2ca15f.tar.gz emacs-ac7936cb8f4d4d6706535bfcea0d97741c2ca15f.zip | |
Rename thread-alive-p to thread-live-p
* doc/lispref/threads.texi (Basic Thread Functions): Use thread-live-p.
* etc/NEWS: 'thread-alive-p' has been renamed to 'thread-live-p'.
* src/thread.c (thread_live_p): Rename from thread_alive_p. Adapt
all callees.
(Fthread_live_p): Rename from Fthread_alive_p.
(syms_of_threads): Make thread-alive-p an alias of thread-live-p.
* test/src/thread-tests.el (all): Replace `thread-alive-p' by
`thread-live-p'.
(threads-live): Rename from `threads-alive'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/threads.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/threads.texi b/doc/lispref/threads.texi index f05af496188..ddeb2e923fc 100644 --- a/doc/lispref/threads.texi +++ b/doc/lispref/threads.texi | |||
| @@ -97,7 +97,7 @@ Yield execution to the next runnable thread. | |||
| 97 | Return the name of @var{thread}, as specified to @code{make-thread}. | 97 | Return the name of @var{thread}, as specified to @code{make-thread}. |
| 98 | @end defun | 98 | @end defun |
| 99 | 99 | ||
| 100 | @defun thread-alive-p thread | 100 | @defun thread-live-p thread |
| 101 | Return @code{t} if @var{thread} is alive, or @code{nil} if it is not. | 101 | Return @code{t} if @var{thread} is alive, or @code{nil} if it is not. |
| 102 | A thread is alive as long as its function is still executing. | 102 | A thread is alive as long as its function is still executing. |
| 103 | @end defun | 103 | @end defun |