Re: File buffer flush issue in multi-process in Windows

2009-01-12 Thread javen72
On 1月13日, 下午2时03分, jave...@gmail.com wrote: > Hi, > > I encountered a very strange issue in file flush operation in Windows. > Here's the scenario of my application: > > 1. The main thread of my application will create makefiles > sequentially. > 2. Once a makefile is generated, launch a ne

File buffer flush issue in multi-process in Windows

2009-01-12 Thread javen72
Hi, I encountered a very strange issue in file flush operation in Windows. Here's the scenario of my application: 1. The main thread of my application will create makefiles sequentially. 2. Once a makefile is generated, launch a new process calling nmake.exe to run it. The main thread the