0ad/source/lib/file
elexis a32ed75bff Fix a race-condition when two games have been started simultaneously and attempt to create the same replay directory, refs #3255.
Instead of triggering a debug-breakpoint, print a warning to stdout and
succeed in the N'th retry when having started N processes
simultaneously.
Previously the problem had been addressed by using the processID in the
directory name.

This was SVN commit r17776.
2016-02-19 11:22:32 +00:00
..
archive Remove partial emulation of some C++11 features for older compilers. 2015-01-24 20:37:18 +00:00
common Fixes stream serialization bug on OS X 10.8 and older, which caused instant OOS in multiplayer games, fixes #3108. 2015-10-15 03:31:30 +00:00
disabled_tests Remove generated test files during clean-workspaces.sh. Patch by otero. Fixes #3275. 2015-08-19 01:30:09 +00:00
io Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
vfs TerrainTextureManager file loading rewrite. Fixes #3358. 2015-11-30 20:12:12 +00:00
file_system.cpp Fix a race-condition when two games have been started simultaneously and attempt to create the same replay directory, refs #3255. 2016-02-19 11:22:32 +00:00
file_system.h Fix a race-condition when two games have been started simultaneously and attempt to create the same replay directory, refs #3255. 2016-02-19 11:22:32 +00:00
file.cpp refactor file interface. requires workspace update 2011-05-25 10:39:13 +00:00
file.h sync with work: add and use NOTHROW; export file_system functions; throw Status from File ctor; add WARN_THROW equivalents of WARN_RETURN 2011-10-10 10:04:36 +00:00