Skip to main content

Module thread_safety

Module thread_safety 

Source
Available on crate feature concurrency only.
Expand description

Thread safety abstractions for the editor

Provides thread-safe wrappers and synchronization primitives for multi-threaded editor usage, ensuring safe concurrent access to document state and operations.

Structsยง

AsyncDocumentasync
Async-friendly wrapper for non-blocking operations
DocumentPool
Thread-safe document pool for managing multiple documents
ScopedDocumentLock
Scoped lock guard for batch operations
SyncDocument
Thread-safe wrapper for EditorDocument