Package modelarium.multithreading


@Internal package modelarium.multithreading
Implements Modelarium's worker and co-ordinator runtime.

This package is an internal implementation detail. Applications should configure concurrency through Config and interact with the running model through public contexts.

  • Class
    Description
    Record for containing the co-ordinator thread and the runnable it executes.
    Coordinator thread responsible for managing synchronised access to shared simulation state between multiple worker threads in a parallel simulation.
    Represents a single worker thread responsible for simulating one subset of agents across the configured number of ticks.