Found some more bits and pieces of WinRT + Xbox 360 support code and removed them

git-svn-id: file:///srv/devel/repo-conversion/nusu@328 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2014-08-19 11:32:56 +00:00
parent 3f1809e5cc
commit 6053f5a877
4 changed files with 3 additions and 18 deletions

View file

@ -33,7 +33,7 @@ namespace Nuclex.Support {
public abstract class ParallelBackgroundWorker<TTask> : IDisposable {
/// <summary>Number of CPU cores available on the system</summary>
public static readonly int Processors = Environment.ProcessorCount;
public static readonly int ProcessorCount = Environment.ProcessorCount;
/// <summary>
/// Timeout after which Dispose() will stop waiting for unfinished tasks and
@ -61,7 +61,7 @@ namespace Nuclex.Support {
if(threadCount > 0) {
this.threadCount = threadCount;
} else {
threadCount = Math.Max(1, Processors + threadCount);
threadCount = Math.Max(1, ProcessorCount + threadCount);
}
this.queueSynchronizationRoot = new object();