lockfree_coordination (agents v0.2.0)

View Source

Summary

Functions

atomic_coordinator(State)

atomic_exchange(AtomicRef, Index, NewValue)

atomic_multi_update(Updates, Options)

avalanche_consensus(ConsensusId, Operation, Options)

byzantine_consensus(ConsensusId, Operation, Options)

compare_and_swap_strong(AtomicRef, Index, Expected, Desired)

compare_and_swap_weak(AtomicRef, Index, Expected, Desired)

create_consensus_group(Participants, Options)

create_lockfree_hashmap(Options)

create_lockfree_queue(Options)

create_lockfree_stack(Options)

fetch_and_add(AtomicRef, Index, Value)

fetch_and_or(AtomicRef, Index, Value)

hazard_pointer_manager(ThreadId, MaxPointers)

load_acquire(AtomicRef, Index)

lockfree_broadcast(Message, Recipients)

lockfree_dequeue(QueueId, HazardPointer)

lockfree_enqueue(QueueId, Value, HazardPointer)

lockfree_pop(StackId, HazardPointer)

lockfree_push(StackId, Value, HazardPointer)

memory_barrier(Type)

memory_reclamation_thread(Options)

practical_consensus(ConsensusId, Operation, Options)

raft_consensus(ConsensusId, Operation, Options)

start_link()

store_release(AtomicRef, Index, Value)

wait_free_snapshot(AtomicRefs)