dolphin/Source/Core/Common/Src
comex eaacf10f71 Fix an idiotic race condition when starting games in multiple Dolphin instances at the same time on Unix.
MemArena mmaps the emulated memory from a file in order to get the same
mapping at multiple addresses.  A file which, formerly, was located at a
static filename: it was unlinked after creation, but the open did not
use O_EXCL, so if two instances started up on the same system at just
the right time, they would get the same memory.  Naturally, this caused
extremely mysterious crashes, but only in Netplay, where the game is
automatically started when the client receives a broadcast from the
server, so races are actually quite likely.

And switch to shm_open, because it fits the bill better and avoids any
issues with using /tmp.
2013-12-10 16:20:52 -05:00
..
Crypto Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
ArmCPUDetect.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
ArmEmitter.cpp [ARM] Fix NEON emitter encodings. 2013-11-12 01:01:54 +00:00
ArmEmitter.h [ARM] Fix NEON emitter encodings. 2013-11-12 01:01:54 +00:00
Atomic.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Atomic_GCC.h Add an explicit error message for outdated GCC, and remove some commented out code. 2013-09-23 15:01:38 -04:00
Atomic_Win32.h Improve Atomic.h: 2013-09-22 16:07:45 -04:00
BreakPoints.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
BreakPoints.h Remove some unnecessary includes as well as simplifying exisiting ones if possible. 2013-10-19 19:58:56 -04:00
CDUtils.cpp Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up. 2013-11-03 20:54:01 -05:00
CDUtils.h Remove some unnecessary includes as well as simplifying exisiting ones if possible. 2013-10-19 19:58:56 -04:00
ChunkFile.h warnings and code formatting 2013-11-13 04:03:46 -05:00
ColorUtil.cpp [Common] Abstract out the decode5A3Image and decodeCI8Image functions in BannerLoaderGC, BannerLoaderWii, and GCMemcard into ColorUtil.cpp. Makes for less copied code and remains functionally the same. 2013-10-02 18:18:54 -04:00
ColorUtil.h [Common] Abstract out the decode5A3Image and decodeCI8Image functions in BannerLoaderGC, BannerLoaderWii, and GCMemcard into ColorUtil.cpp. Makes for less copied code and remains functionally the same. 2013-10-02 18:18:54 -04:00
Common.h Don't define _M_IX86 on ARM(!). 2013-09-24 01:30:41 -04:00
CommonFuncs.h Redo 'Fixes GCC 4.9 compilation. It now supplies its own _mm_shuffle_epi8 intrinsic.' This time with support for Windows. 2013-11-12 16:34:56 -06:00
CommonPaths.h Overlay local gameinis over global gameinis instead of copying. 2013-09-14 17:46:41 +02:00
CommonTypes.h Really fix the Linux build this time. 2013-10-19 19:59:05 -04:00
ConsoleListener.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
ConsoleListener.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
CPUDetect.h Interpreter: software-based flush-to-zero 2013-11-13 06:24:58 +01:00
DebugInterface.h Remove some unnecessary includes as well as simplifying exisiting ones if possible. 2013-10-19 19:58:56 -04:00
ExtendedTrace.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
ExtendedTrace.h Remove some unnecessary includes as well as simplifying exisiting ones if possible. 2013-10-19 19:58:56 -04:00
FifoQueue.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
FileSearch.cpp Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up. 2013-11-03 20:54:01 -05:00
FileSearch.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
FileUtil.cpp Fix {Read,Write}FileToString. 2013-11-05 00:33:41 +13:00
FileUtil.h Fix {Read,Write}FileToString. 2013-11-05 00:33:41 +13:00
FixedSizeQueue.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
FPURoundMode.h Interpreter: support non-IEEE mode emulation 2013-11-13 06:24:57 +01:00
GenericFPURoundMode.cpp Interpreter: support non-IEEE mode emulation 2013-11-13 06:24:57 +01:00
Hash.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
Hash.h Fix Linux build. 2013-10-19 19:59:04 -04:00
IniFile.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
IniFile.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
LinearDiskCache.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
Log.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
LogManager.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
LogManager.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
MathUtil.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
MathUtil.h Interpreter: software-based flush-to-zero 2013-11-13 06:24:58 +01:00
MemArena.cpp Fix an idiotic race condition when starting games in multiple Dolphin instances at the same time on Unix. 2013-12-10 16:20:52 -05:00
MemArena.h Fix a bunch of random typos in comments and logging. 2013-04-19 09:21:45 -04:00
MemoryUtil.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
MemoryUtil.h Remove some more includes. 2013-10-19 19:59:03 -04:00
Misc.cpp Fix an issue where my recent changes would cause compilation to fail on some distros of Linux. 2013-10-20 16:32:40 -04:00
MsgHandler.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
MsgHandler.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
NandPaths.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
NandPaths.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
SDCardUtil.cpp Fix format string warnings 2013-11-13 04:01:16 +01:00
SDCardUtil.h Remove some unnecessary includes as well as simplifying exisiting ones if possible. 2013-10-19 19:58:56 -04:00
SettingsHandler.cpp Remove some more includes. 2013-10-19 19:59:03 -04:00
SettingsHandler.h Remove some more includes. 2013-10-19 19:59:03 -04:00
stdafx.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
stdafx.h Update to VS2013 and a slew of build-related updates. Notes: 2013-10-26 17:55:38 -07:00
StdConditionVariable.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
StdMutex.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
StdThread.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
StringUtil.cpp warnings and code formatting 2013-11-13 04:03:46 -05:00
StringUtil.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
SymbolDB.cpp Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up. 2013-11-03 20:54:01 -05:00
SymbolDB.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
SysConf.cpp warnings and code formatting 2013-11-13 04:03:46 -05:00
SysConf.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Thread.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
Thread.h Changed thread barrier and event to use a lamba wait predicate instead of a functor. 2013-11-10 04:57:11 -05:00
Timer.cpp Remove some more includes. 2013-10-19 19:59:03 -04:00
Timer.h Remove some unnecessary includes as well as simplifying exisiting ones if possible. 2013-10-19 19:58:56 -04:00
Version.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
x64ABI.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
x64ABI.h Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
x64Analyzer.cpp Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
x64Analyzer.h Remove some more includes. 2013-10-19 19:59:03 -04:00
x64CPUDetect.cpp x64: add small warning if CPU has SSE2 but not DAZ 2013-11-13 06:26:57 +01:00
x64Emitter.cpp x64: support VEX opcode encoding 2013-11-13 06:12:23 +01:00
x64Emitter.h x64: support VEX opcode encoding 2013-11-13 06:12:23 +01:00
x64FPURoundMode.cpp Interpreter: software-based flush-to-zero 2013-11-13 06:24:58 +01:00