lgogdownloader/src
Sude 4c480465b3 Fix skipped file downloads due to race condition
If multiple threads detected that directory didn't exist at the same time and tried to create it then one thread would succeed in creating it first and other threads would be trying to create a directory that already exists.
boost::filesystem::create_directories() would then return false for those threads and skip the file download.

Having additional check to see if the directory exists after boost::filesystem::create_directories() returns false fixes the problem.
2016-11-03 21:51:20 +02:00
..
api.cpp Changed gameFile format and gamedetails cache format 2016-04-25 18:14:04 +03:00
blacklist.cpp implemented blacklist for --download, --repair and --check-orphans 2014-07-02 19:56:18 +03:00
downloader.cpp Fix skipped file downloads due to race condition 2016-11-03 21:51:20 +02:00
gamedetails.cpp Add support for DLC language packs 2016-06-01 14:17:55 +03:00
gamefile.cpp Changed gameFile format and gamedetails cache format 2016-04-25 18:14:04 +03:00
progressbar.cpp Progressbar: add function to get bar as string 2016-04-27 20:47:15 +03:00
util.cpp Add support for parallel downloads 2016-05-20 20:33:07 +03:00
website.cpp Add option to set CA certificate path 2016-08-30 19:34:47 +03:00