[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wait_for_file ??
From: |
Dmitri A. Sergatskov |
Subject: |
Re: wait_for_file ?? |
Date: |
Fri, 3 Sep 2010 20:39:57 -0500 |
On Fri, Sep 3, 2010 at 7:32 PM, Michael D Godfrey
<address@hidden> wrote:
> On 09/03/2010 05:26 PM, Michael D Godfrey wrote:
>
> I previously said:
>
> Now the question is: why is the opts.source file not generated
> before __wait_for_file__(opts.source) is called?
>
> I should have added that this makes the __wait_for_file__ patches
> unnecessary. Once the reason is found for the eps file only being known
> within gl2ps-renderer.cc there should be no timing window. Of course,
> please, everyone remember that fflush() is required before each fclose().
> Not doing the flush() would reintroduce a window, and this was a a part of
> this problem.
>
> Michael
>
>
I suspect that extra fflush() call adds a delay that hides the underlying
race condition, but does not solves it.
Dmitri.
--
- Re: wait_for_file ??, (continued)
- Re: wait_for_file ??, bpabbott, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Ben Abbott, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Ben Abbott, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Dmitri A. Sergatskov, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??,
Dmitri A. Sergatskov <=
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Ben Abbott, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/07
- Re: wait_for_file ??, Shai Ayal, 2010/09/07
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/07
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/08
- Re: wait_for_file ??, Ben Abbott, 2010/09/08
- Re: wait_for_file ??, Ben Abbott, 2010/09/08
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/08