[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Examples of concurrent coproc usage?
From: |
Chet Ramey |
Subject: |
Re: Examples of concurrent coproc usage? |
Date: |
Mon, 22 Apr 2024 12:06:43 -0400 |
User-agent: |
Mozilla Thunderbird |
On 4/20/24 6:04 PM, Carl Edquist wrote:
I think this is _definitely_ true for the BC coproc in the bcalc example.
But it's kind of a distraction to get hung up on that detail, because in
the general case there may very well be other scenarios where it would be
appropriate to, um, _nudge_ the coproc a bit with the kill command.
You might be surprised. The OP was sending thousands of calculations to (I
think) GNU bc, which had some resource consumption issue that resulted in
it eventually hanging, unresponsive. The kill was the solution there. I
imagine there are similar scenarios with other tools.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
- Re: Examples of concurrent coproc usage?, (continued)
- Re: Examples of concurrent coproc usage?, Carl Edquist, 2024/04/09
- Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/13
- Re: Examples of concurrent coproc usage?, Zachary Santer, 2024/04/14
- Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/15
- Re: Examples of concurrent coproc usage?, Carl Edquist, 2024/04/15
- Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/17
- Re: Examples of concurrent coproc usage?, Carl Edquist, 2024/04/20
- Re: Examples of concurrent coproc usage?,
Chet Ramey <=
- Re: Examples of concurrent coproc usage?, Carl Edquist, 2024/04/27
- Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/28
- Re: Examples of concurrent coproc usage?, Robert Elz, 2024/04/13
- Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/08
- Re: Examples of concurrent coproc usage?, Carl Edquist, 2024/04/12
- Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/16
- Re: Examples of concurrent coproc usage?, Carl Edquist, 2024/04/20
- Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/22
Re: Examples of concurrent coproc usage?, Chet Ramey, 2024/04/17