Expand description
Lock-free MPMC queue for non-Copy types using Arc<T> storage.
This module provides PointerQueue which enables storing arbitrary types
by converting Arc<T> values to raw pointers internally, maintaining the
performance characteristics of the underlying copy-based queue.
Structs§
- Pointer
Consumer Handle - Consumer handle for the pointer queue.
- Pointer
Producer Handle - Producer handle for the pointer queue.
- Pointer
Queue - A lock-free MPMC queue that stores
Arc<T>values by converting them to raw pointers internally. - Pointer
Queue Builder - Builder for pointer queues.
Functions§
- pointer_
queue - Convenience function for creating pointer queues with default index type
(
u32). - pointer_
queue_ with_ index - Convenience function for creating pointer queues with custom index type.
Type Aliases§
- Pointer
Consumer - Convenient type alias for
PointerConsumerHandle. - Pointer
Producer - Convenient type alias for
PointerProducerHandle.