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

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.