[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 8dcb19f 4/4: Add a unit test testing interaction between thre
From: |
Eli Zaretskii |
Subject: |
Re: master 8dcb19f 4/4: Add a unit test testing interaction between threads and processes. |
Date: |
Sun, 24 Jan 2021 16:43:30 +0200 |
> Date: Sun, 24 Jan 2021 05:36:43 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: phst@google.com, emacs-devel@gnu.org
>
> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Sat, 23 Jan 2021 21:34:28 +0100
> > Cc: Emacs developers <emacs-devel@gnu.org>, Philipp Stephani
> > <phst@google.com>
> > > I did verify that process-send-eof does cause 'cat' to exit, so the
> > > problem is likely in some issue related to threads and what the test
> > > assumes regarding what should happen here.
> >
> > What's surprising here is that "cat" exited with an exit status of 1,
> > shouldn't that be normally impossible?
>
> I'm not sure this 1 exit status is not a red herring: when I manually
> perform the steps for a single process and without any threads, 'cat'
> exits with status zero. And when I run that single test, it hangs.
Actually, "hangs" is inaccurate: it terminates with an error after 60
sec.
Re: master 8dcb19f 4/4: Add a unit test testing interaction between threads and processes., Philipp Stephani, 2021/01/23