[Bug 2127] WriteFile fails on threaded applications

Wine Bugs wine-bugs at winehq.org
Sun Oct 2 16:30:12 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=2127





------- Additional Comments From david.guembel at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list