Open sandboxFocus

Class SynchronizedThreadingModel

The SynchronizedThreadingModel class describes a threading model where only a single thread can access the object at a time. To use the SynchronizedThreadingModel, apply the SynchronizedAttribute custom attribute to a class.

Inheritance
SynchronizedThreadingModel
Namespace: PostSharp.Patterns.Threading.Models
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class SynchronizedThreadingModel : 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.