PostSharp / / API Reference / Post­Sharp.​Patterns.​Threading / Concurrency­Controller­Factory
Open sandbox

Class ConcurrencyControllerFactory

Provides methods to create new instances of concurrency controllers.

Inheritance
ConcurrencyControllerFactory
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public static class ConcurrencyControllerFactory : Object

Methods

Name Description
CreateReaderWriterSynchronizedController(Boolean)

Creates a new concurrency controller for the reader-writer-synchronized threading model (ReaderWriterSynchronizedThreadingModel) and specifies whether the new controller should participate in deadlock detection.

CreateSynchronizedController(Boolean)

Creates a new concurrency controller for the synchronized threading model (SynchronizedThreadingModel) and specifies whether the new controller should participate in deadlock detection.

CreateThreadUnsafeController()

Creates a new concurrency controller for thread-unsafe threading model (ThreadUnsafeThreadingModel).