Namespace CarinaStudio.Threading
Classes
- CalledOnBackgroundThreadAttribute
Indicates that the method will/should be called on a thread which is different from main/primary thread.
- DispatcherScheduledAction
ScheduledAction which schedules the action with specific Avalonia.Threading.DispatcherPriority.
- DispatcherSynchronizationContext
Implementation of SynchronizationContext based-on Dispatcher.
- ReaderWriterLockExtensions
Extension methods for ReaderWriterLock and ReaderWriterLockSlim.
- ScheduledAction
Scheduled action which will be performed by specific SynchronizationContext. This is a thread-safe class.
- SingleThreadSynchronizationContext
Implementation of SynchronizationContext which uses single execution thread to handle posted call-backs. This is thread-safe class.
- SynchronizationContextExtensions
Extensions for SynchronizationContext.
- ThreadDependentExtensions
Extensions for IThreadDependent.
- ThreadSafeAttribute
Indicates that the type or member is thread-safe.
- UsedOnBackgroundThreadAttribute
Indicates that the field or property will/should be used on a thread which is different from main/primary thread.
Structs
- ReaderLockScope
Represents a scope with reader lock of ReaderWriterLock acquired.
- ReaderLockScopeSlim
Represents a scope with reader lock of ReaderWriterLockSlim acquired.
- UpgradeableReaderLockScopeSlim
Represents a scope with upgradeable reader lock of ReaderWriterLockSlim acquired.
- WriterLockScope
Represents a scope with writer lock of ReaderWriterLock acquired.
- WriterLockScopeSlim
Represents a scope with writer lock of ReaderWriterLockSlim acquired.
Interfaces
- ISynchronizable
Object which relates to specific SynchronizationContext.
- IThreadDependent
Object which depends on specific thread.