Open sandboxFocus

Class ReaderWriterSynchronizedThreadingModel

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