]> git.eshelyaron.com Git - emacs.git/commit
Rename primary_thread to main_thread
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Dec 2016 21:42:38 +0000 (13:42 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Dec 2016 21:43:24 +0000 (13:43 -0800)
commit108ef8033be79e9e5567002e85a316ecb5e77cad
tree5fd61d7c2a5e04f0b62402183f0b1ef7733112f3
parent966d51592f07ad9de6afebcd828e667cce0f6a27
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.
src/alloc.c
src/thread.c
src/thread.h
src/w32.h