emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 758e9a8 1/2: Revert "Don't mark main_thread (Bug#


From: Andreas Schwab
Subject: [Emacs-diffs] emacs-26 758e9a8 1/2: Revert "Don't mark main_thread (Bug#36155)"
Date: Mon, 10 Jun 2019 06:54:17 -0400 (EDT)

branch: emacs-26
commit 758e9a8ed49c15f7069a67cf0c2ce3c6f9a3f7e1
Author: Andreas Schwab <address@hidden>
Commit: Andreas Schwab <address@hidden>

    Revert "Don't mark main_thread (Bug#36155)"
    
    This reverts commit 1877b7b4d79b3434379fd5a4abd85906c25df00c.
---
 src/thread.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/thread.c b/src/thread.c
index e215801..0cd1ae3 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -645,10 +645,7 @@ mark_threads_callback (void *ignore)
       Lisp_Object thread_obj;
 
       XSETTHREAD (thread_obj, iter);
-      /* Don't mark main_thread, since it is not allocated
-        dynamically, thus nothing would unmark it.  */
-      if (iter != &main_thread)
-       mark_object (thread_obj);
+      mark_object (thread_obj);
       mark_one_thread (iter);
     }
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]