unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Adam Porter <adam@alphapapa.net>
Cc: 50166@debbugs.gnu.org
Subject: bug#50166: 28.0.50; ECM for possible process-status/sentinel bug
Date: Mon, 23 Aug 2021 16:06:39 +0200	[thread overview]
Message-ID: <87v93ws1ao.fsf@gnus.org> (raw)
In-Reply-To: <CAO_b3FW_mpCnRMGYw9Fo3-UAfeAUhLWQx7NYCn7t1jUUe=abQw@mail.gmail.com> (Adam Porter's message of "Sun, 22 Aug 2021 20:31:08 -0500")

Adam Porter <adam@alphapapa.net> writes:

> (The fact that
> "process" seems to have some extra meanings in the context--it refers
> not only to the program called with `make-process'--seems to add to
> the difficulty of reasoning and communicating about these issues.)

"Process" in Emacs just refers to a "process object" -- it's not tied to
the Unix concept of a process, really.  (But Unix processes are
interacted with via Emacs process objects normally.  :-))

An Emacs process object is something that perhaps gives you bytes and
might accept bytes, so it's a network connection, a UDP server, a
socket, a pipe, a tty, a serial connection or a Unix process.  (And
probably other things I'm forgetting.)

> As an aside, I tried removing the :stderr argument to make-process in
> my plz.el library, but unfortunately it did not help the problem I'm
> observing there: that running ERT tests in series, with curl processes
> started in quick succession (though only one at a time) leads to
> failing tests, apparently related to sentinels not being called after
> a process's output has been collected (and running the tests
> individually almost always succeeds).

If you could come up with a minimal test case for that, that'd be nice.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2021-08-23 14:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22 20:08 bug#50166: 28.0.50; ECM for possible process-status/sentinel bug Adam Porter
2021-08-22 21:21 ` Lars Ingebrigtsen
2021-08-22 22:01   ` Adam Porter
2021-08-22 22:18     ` Lars Ingebrigtsen
2021-08-22 22:34       ` Lars Ingebrigtsen
2021-08-22 22:40         ` Lars Ingebrigtsen
2021-08-23  1:31           ` Adam Porter
2021-08-23  1:47             ` Lars Ingebrigtsen
2021-08-23 12:44               ` Lars Ingebrigtsen
2021-08-23 14:06             ` Lars Ingebrigtsen [this message]
2021-09-22 20:41               ` Lars Ingebrigtsen
2021-09-25 12:14                 ` Adam Porter
2021-09-26  5:31                   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v93ws1ao.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50166@debbugs.gnu.org \
    --cc=adam@alphapapa.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).