emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs-26 threads problem [win64]


From: Eli Zaretskii
Subject: Re: Emacs-26 threads problem [win64]
Date: Tue, 10 Oct 2017 22:39:57 +0300

> From: Fabrice Popineau <address@hidden>
> Date: Tue, 10 Oct 2017 20:57:20 +0200
> Cc: Emacs developers <address@hidden>
> 
> What does this test do exactly ? (Well I could read the code but ... doing 
> many other things in parallel)

It executes the thread-related primitives by launching one or more
threads in each test.

> The value of stack_pos keeps increasing. Isn't there some limit that is 
> reached here ?

Maybe.  I don't see anything like that, the stack_pos address remains
almost fixed here.  I think what you see means the threads created by
the tests don't exit, so the following tests create threads with stack
space higher and higher in the address space.

Does the problem go away if you insert at the beginning of each test a
loop like this:

  (while (> (length (all-threads)) 1)
    (sleep-for 0.1))

If this doesn't help, we will have to look at the other threads in a
debugger, to see where they are stuck, which prevents them from
exiting.



reply via email to

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