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

Determines whether the current ThreadingModel has blocking semantics, i.e. if the threading model may cause the executing thread to be blocked, for instance when waiting for a lock.

IsThreadSafe

Determines whether the threading model is possibly thread safe.

Methods

Name Description
ToString()