[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: iolint race condition
From: |
Miguel Pineiro Jr. |
Subject: |
Re: iolint race condition |
Date: |
Tue, 07 Dec 2021 00:10:00 -0500 |
User-agent: |
Cyrus-JMAP/3.5.0-alpha0-4492-g121c2470aa-fm-20211206.001-g121c2470 |
On Mon, Dec 6, 2021, at 10:29 PM, Andrew J. Schorr wrote:
> I don't love that it's implementation-dependent, but it may be the most
> expedient way of solving the problem.
Yes. It's brittle. If the implementation changes, the race resurfaces.
Is this test even necessary? In its present form, it covers the same
ground as the final test, output file and output pipe.
The cksum test has the same implementation dependency which
you noted. No race there at the moment, though, since the cksum
child is waited on by the adjacent close.
Miguel