PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingConcurrency­Controller­Factory
Open sandboxFocus

ConcurrencyControllerFactory Class

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()

Creates a new concurrency controller for the reader-writer-synchronized threading model (ReaderWriterSynchronizedThreadingModel).

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()

Creates a new concurrency controller for the synchronized threading model (SynchronizedThreadingModel).

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).