Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Environment.Unix.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Environment.Unix.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/System.Private.CoreLib/src/System/Environment.Unix.cs b/src/System.Private.CoreLib/src/System/Environment.Unix.cs
index c45d54bd8..af2e5517a 100644
--- a/src/System.Private.CoreLib/src/System/Environment.Unix.cs
+++ b/src/System.Private.CoreLib/src/System/Environment.Unix.cs
@@ -20,18 +20,6 @@ namespace System
}
}
- private static int ComputeExecutionId()
- {
- int executionId = Interop.Sys.SchedGetCpu();
-
- // sched_getcpu doesn't exist on all platforms. On those it doesn't exist on, the shim
- // returns -1. As a fallback in that case and to spread the threads across the buckets
- // by default, we use the current managed thread ID as a proxy.
- if (executionId < 0) executionId = Environment.CurrentManagedThreadId;
-
- return executionId;
- }
-
#if DEBUG
[Obsolete("ExpandEnvironmentVariables() only called on Windows so not implemented on Unix.")]
public static string ExpandEnvironmentVariables(string name)