Mutable Data
Mutable concurrently accessible data buffer. Could be accessed from several workers simulteniously.
Constructors
MutableData
Link copied to clipboard
Functions
with Buffer Locked
Link copied to clipboard
with Pointer Locked
Link copied to clipboard
fun <R> withPointerLocked(block: (COpaquePointer, dataSize: Int) -> R): R
Content copied to clipboard
Executes provided block under lock with raw pointer to the data stored in the buffer. Block is executed under the spinlock, and must be short.