PostSharpAPI ReferencePost­Sharp.​Patterns.​Threading.​ModelsReader­Writer­Synchronized­Threading­Model
Open sandboxFocus

ReaderWriterSynchronizedThreadingModel Class

The ReaderWriterSynchronizedThreadingModel class describes a threading model where several threads can have concurrent read-only access, but where writing to the object requires exclusive access. To use the ReaderWriterSynchronizedThreadingModel, apply the ReaderWriterSynchronizedAttribute custom attribute to a class.

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