Expand description
Memory-mapped context for zero-copy sharing.
Provides shared memory context for DCP protocol with atomic operations and memory fencing for thread safety.
Structs§
- Context
Layout - Context memory layout
- DcpContext
- Memory-mapped context for zero-copy sharing
- Tool
State - Tool state structure
Constants§
- CONTEXT_
MAGIC - Magic number for context validation
- CONVERSATION_
ID_ OFFSET - Conversation ID offset
- DYNAMIC_
CONTENT_ OFFSET - Dynamic content offset (after tool states)
- HEADER_
OFFSET - Context memory layout header offset
- MAX_
TOOL_ STATES - Maximum number of tool states in context
- MESSAGE_
COUNT_ OFFSET - Message count offset
- TOOL_
STATES_ OFFSET - Tool states offset