emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: a random backtrace while toying with gdb


From: Eli Zaretskii
Subject: Re: MPS: a random backtrace while toying with gdb
Date: Sun, 30 Jun 2024 22:58:30 +0300

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: gerd.moellmann@gmail.com,  pipcet@protonmail.com,  yantar92@posteo.net,
>   emacs-devel@gnu.org
> Date: Sun, 30 Jun 2024 20:42:03 +0200
> 
> +#define ASYNC_WORK_QUEUE_CAPACITY 64
> +
> +struct async_work_queue {
> +  uint8_t start, end;
> +  struct async_work_item items[ASYNC_WORK_QUEUE_CAPACITY];
> +};

What happens if more than 64 sub-processes exit while we are under
block_input?  64 is not such a large number, and we sometimes
block_input for prolonged times.

In any case, the 64 thing (or any other fixed value) is against the
GNU Coding Standards that frown on arbitrary limits.

Frankly, if this is what we must do, then this branch is not very
interesting.  Too bad, I thought this was a promising development in
Emacs.



reply via email to

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