Welcome! Log In Create A New Profile

Advanced
Re: File with all program that are LDraw relevant
avatarMarch 04, 2013 10:57AM
What you're describing is a "race condition".

I know that on Windows you can open a file in "exclusive mode" so that no other process can read or write the file by setting dwShareMode to 0 in the call to CreateFile(). (It allows finer granularity than that, but that is the safest setting in this context.) If all applications are required to do this any time they read or write the file, and are also required to retry opening the file for (say) one second if an open attempt fails, then the race condition goes away.
SubjectAuthorViewsPosted
File with all program that are LDraw relevant Michael Heidemann1152March 03, 2013 10:49AM
Re: File with all program that are LDraw relevant Tim Gould442March 03, 2013 01:47PM
Re: File with all program that are LDraw relevant Alex Taylor412March 04, 2013 03:30AM
Re: File with all program that are LDraw relevant Michael Heidemann402March 04, 2013 09:44AM
Re: File with all program that are LDraw relevant Alex Taylor388March 04, 2013 09:53AM
Re: File with all program that are LDraw relevant Roland Melkert387March 04, 2013 10:30AM
Re: File with all program that are LDraw relevant Alex Taylor437March 04, 2013 10:43AM
Re: File with all program that are LDraw relevant Travis Cobbs467March 04, 2013 10:57AM
Re: File with all program that are LDraw relevant Travis Cobbs429March 04, 2013 11:00AM
Re: File with all program that are LDraw relevant Alex Taylor517March 04, 2013 11:23AM
Re: File with all program that are LDraw relevant Michael Heidemann486March 04, 2013 01:14PM
Re: File with all program that are LDraw relevant Alex Taylor542March 04, 2013 02:05PM
Re: File with all program that are LDraw relevant Michael Heidemann908March 05, 2013 08:22AM



Sorry, only registered users may post in this forum.

Click here to login