[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33018: 26.1.50; thread starvation with async processes and accept-pr
From: |
Michael Albinus |
Subject: |
bug#33018: 26.1.50; thread starvation with async processes and accept-process-output |
Date: |
Fri, 12 Oct 2018 14:02:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
Hi Basil,
> I attach a sample program test.el whose central function, test-slave,
> invokes wget asynchronously before waiting for the process to exit.
>
> The issue I'm facing is that running test-slave twice in succession,
> each time in a new thread, causes accept-process-output to hang with no
> output (unless a timeout argument is given, in which case the function
> returns nil) the second time around.
If you want a process to communicate in a given thread, you must call
`set-process-thread'. See the elisp manual.
> Thanks,
Best regards, Michael.
- bug#33018: 26.1.50; thread starvation with async processes and accept-process-output, Basil L. Contovounesios, 2018/10/11
- bug#33018: 26.1.50; thread starvation with async processes and accept-process-output,
Michael Albinus <=
- bug#33018: 26.1.50; thread starvation with async processes and accept-process-output, Eli Zaretskii, 2018/10/12
- bug#33018: 26.1.50; thread starvation with async processes and accept-process-output, Basil L. Contovounesios, 2018/10/14
- bug#33018: 26.1.50; thread starvation with async processes and accept-process-output, Eli Zaretskii, 2018/10/16
- bug#33018: 26.1.50; thread starvation with async processes and accept-process-output, Basil L. Contovounesios, 2018/10/17
- bug#33018: 26.1.50; thread starvation with async processes and accept-process-output, Eli Zaretskii, 2018/10/17