summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-12-30 13:42:38 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-12-30 13:43:24 -0800
commit108ef8033be79e9e5567002e85a316ecb5e77cad (patch)
tree5fd61d7c2a5e04f0b62402183f0b1ef7733112f3 /src/thread.h
parent966d51592f07ad9de6afebcd828e667cce0f6a27 (diff)
downloademacs-108ef8033be79e9e5567002e85a316ecb5e77cad.tar.gz
emacs-108ef8033be79e9e5567002e85a316ecb5e77cad.tar.bz2
emacs-108ef8033be79e9e5567002e85a316ecb5e77cad.zip
Rename primary_thread to main_thread
This avoids the confusion of using two different phrases "main thread" and "primary thread" internally to mean the same thing. See: http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg01142.html * src/thread.c (main_thread): Rename from primary_thread, since the new name no longer clashes with main_thread_id and Emacs internals normally call this the "main thread". (init_main_thread): Rename from init_primary_thread. (main_thread_p): Rename from primary_thread_p. All uses changed.
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h
index 9472ae30512..e6dc668f95a 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -285,7 +285,7 @@ extern void maybe_reacquire_global_lock (void);
extern void init_threads_once (void);
extern void init_threads (void);
extern void syms_of_threads (void);
-extern bool primary_thread_p (void *);
+extern bool main_thread_p (void *);
typedef int select_func (int, fd_set *, fd_set *, fd_set *,
const struct timespec *, const sigset_t *);