http://bugs.winehq.org/show_bug.cgi?id=2127
------- Additional Comments From david.guembel@gmx.de 2005-02-10 16:30 ------- This error still exists in 20050930. I have a sample application showing the same behaviour. It seems that the error can be triggered faster on SMP systems, and when using more threads.
Another observation: When setting the wineserver process to SCHED_BATCH scheduling policy, it takes much longer until the problem arises. I thus suspect a race condition either in teh wineserver or in the communication with the wineserver. Using EnterCriticalSection instead of Mutex objects does not change anything.
Any advice on how to solve this bug is greatly appreciated. I think file access in threads is a pretty critical thing, and I'd be happy helping to find a solution.