emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs without threads


From: Eli Zaretskii
Subject: Re: Emacs without threads
Date: Thu, 14 Dec 2023 15:01:23 +0200

> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: emacs-devel@gnu.org
> Date: Thu, 14 Dec 2023 13:43:09 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > What do you mean by "without thread support at all", and how is it
> > different from what you get with --without-threads?
> 
> I mean that Emacs won't be able to start any thread (for example via
> pthread_* functions).

That's what --without-threads does.

> I thought that --without-threads only removed the Lisp support for
> threads because, from a debugging session, Emacs does seem to
> continue to start threads.

The threads you see under a debugger are not Lisp threads, they are
threads started by GTK and other libraries we link against.  You
cannot disable them, except by building Emacs without those libraries
(I think just without GTK should do, if you are on GNU/Linux).

> (FWIW, I want this to simplify debugging because on my machine I cannot
> make GDB to switch to the correct thread

How come?

> or to continue running other threads)

Why would you need to do that?



reply via email to

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