]> git.eshelyaron.com Git - emacs.git/commitdiff
rename thread-blocker to thread--blocker
authorTom Tromey <tromey@redhat.com>
Tue, 27 Aug 2013 18:57:18 +0000 (12:57 -0600)
committerTom Tromey <tromey@redhat.com>
Tue, 27 Aug 2013 18:57:18 +0000 (12:57 -0600)
doc/lispref/threads.texi
src/thread.c

index 9c3335460402ba1628354001329d3b01972b7a40..c846993172ff4e8d70a1c13b4a1bd3a2d8e80745 100644 (file)
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
-@c Copyright (C) 2012
+@c Copyright (C) 2012, 2013
 @c   Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
 @node Threads
@@ -101,9 +101,10 @@ Return @code{t} if @var{thread} is alive, or @code{nil} if it is not.
 A thread is alive as long as its function is still executing.
 @end defun
 
-@defun thread-blocker thread
+@defun thread--blocker thread
 Return the object that @var{thread} is waiting on.  This function is
-primarily intended for debugging.
+primarily intended for debugging, and is given a ``double hyphen''
+name to indicate that.
 
 If @var{thread} is blocked in @code{thread-join}, this returns the
 thread for which it is waiting.
index 20d0568bef598b17e06d0c89c796301f316381dc..39a21518ec611a145576850c63e611fcc436cdbe 100644 (file)
@@ -804,7 +804,7 @@ DEFUN ("thread-alive-p", Fthread_alive_p, Sthread_alive_p, 1, 1, 0,
   return thread_alive_p (tstate) ? Qt : Qnil;
 }
 
-DEFUN ("thread-blocker", Fthread_blocker, Sthread_blocker, 1, 1, 0,
+DEFUN ("thread--blocker", Fthread_blocker, Sthread_blocker, 1, 1, 0,
        doc: /* Return the object that THREAD is blocking on.
 If THREAD is blocked in `thread-join' on a second thread, return that
 thread.