Open sandboxFocus

Class ThreadingModel

Base class for all threading models. Defines properties that describe the characteristics of threading models. All classes derived from ThreadingModel are necessarily singletons.

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class ThreadingModel

Properties

Name Description
IsBlocking

Gets a value indicating whether the current ThreadingModel has blocking semantics, that is, whether the threading model may cause the executing thread to be blocked, for instance when waiting for a lock.

IsThreadSafe

Gets a value indicating whether the threading model is possibly thread safe.

Methods

Name Description
ToString()