Additions to the .NET Compact Framework for Xbox 360

The .NET Compact Framework for Xbox 360 implements a subset of the .NET Compact Framework, and adds the following namespaces, types, or members.

New Methods

SetProcessorAffinity Method

Currently, the .NET Compact Framework for Xbox 360 adds just one more method. It belongs to the System.Threading.Thread class.

The SetProcessorAffinity method sets the processor or hardware thread on which a software thread will execute (the thread's processor affinity). The Xbox 360 has six hardware threads (two on each of three cores). Four of these can be used by applications. SetProcessorAffinity has the following signature:

public void SetProcessorAffinity (
         params int[] cpus
)

See Also

Concepts

Threading (C# Programming Guide)
Thread Pools in the .NET Compact Framework for Xbox 360

Reference

System.Threading.Thread Members
System.Threading.Thread.SetProcessorAffinity Method