emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS make-thread


From: Eli Zaretskii
Subject: Re: MPS make-thread
Date: Sun, 23 Jun 2024 16:19:30 +0300

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: yantar92@posteo.net,  eller.helmut@gmail.com,  emacs-devel@gnu.org
> Date: Sun, 23 Jun 2024 12:27:42 +0200
> 
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> 
> > Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> >
> >> Eli Zaretskii <eliz@gnu.org> writes:
> >>
> >>>> igc_collect calls mps_arena_collect which acquires the MPS lock, does a
> >>>> full collection, and leaves the arena in parked state, so that the
> >>>> caller has to mps_release it itself, which we do in igc_collect. This is
> >>>> explicitly only intended for debugging purposes. It is thread-safe.
> >>>
> >>> Then why did we get the MPS assertion about warm and cold in this case?
> >>
> >> I don't know, but I think the real error happens before that. The
> >> backtrace from my debug version shows that something is wrong with the
> >> mps_thr_t that it is using.
> >
> > FYI, I think I have it. Pushing later.
> 
> That went better than I expected... Pushed, please let me know if it
> works for you.

Thanks, seems to work fine now.



reply via email to

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