Click or drag to resize

ThreadingPolicy Methods

The ThreadingPolicy type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConfigureToUseAllLogicalProcessors
Configures the threading policy so that parallelizable operations use one thread for each logical processor on the system. In some partial-trust environments, in may not be possible to determine the number of logical processors. In that case, the threading policy will be configured to use two threads.
Public methodStatic memberConfigureToUseCurrentThreadOnly
Configures the threading policy so that parallelizable operations are executed using only the thread that invoked them. No additional threads are created.
Public methodStatic memberResetCurrentToDefault
Resets the current threading policy to the default.
Public methodStatic memberUseCurrentAsDefault
Sets the current threading policy as the default policy to be used for new threads.
Top
See Also