Interface implemented by objects that are aware of concurrency. Access to thread-aware objects is controlled by a concurrency controller (IConcurrencyController). Any aspect implementing a threading model (ThreadAwareObjectAttribute) introduces this interface to the target class and ensures that accesses to this class go through the controller.
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 18.104.22.168 (22.214.171.124)
public interface IThreadAware
Thetype exposes the following members.
Notifies the object that the effective controller of it's parent has changed. The new parent controller or null.
Acquires access to given object and returns the ConcurrentAccessToken.(Defined by ThreadAwareExtensions.)
|AcquireAccess(ObjectAccessLevel, ConcurrentAccessToken)||Overloaded. |
Acquires access for a given object and gets the ConcurrentAccessToken as a reference parameter.(Defined by ThreadAwareExtensions.)
Asynchronously acquires access for a given object.(Defined by ThreadAwareExtensions.)