The ActorThreadingModel class describes a threading model in which methods are processed asynchronously by a single thread, which suppresses concurrency inside each instance of the actor. To use the ActorThreadingModel, apply the ActorAttribute to a class.
Namespace: PostSharp.Patterns.Threading.Models
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class ActorThreadingModel : ThreadingModelProperties
| 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. |