diff --git a/src/Adaptive.Agrona/IoUtil.cs b/src/Adaptive.Agrona/IoUtil.cs index 5b1c27f4..50749abb 100644 --- a/src/Adaptive.Agrona/IoUtil.cs +++ b/src/Adaptive.Agrona/IoUtil.cs @@ -121,6 +121,10 @@ public static void CheckFileExists(string path) /// tmp directory for the runtime public static string TmpDirName() { + if (Environment.OSVersion.Platform == PlatformID.Unix) + { + return @"/dev/shm"; + } return Path.GetTempPath(); }