anthonygardner / plant

0 stars 0 forks source link

Multithread agent states #6

Open anthonygardner opened 11 months ago

anthonygardner commented 11 months ago

As an exercise in multithreading, I'll use a simulation executive to determine the number of agents present and track their states using separate threads. For applications involving real-time data streams, I can also handle the GUI on a separate thread to support playbacks once the total sim time has been reached (i.e, do not close the GUI when the sim is complete).

For now, I'll plan to use a src/core/state_machine.cc file for this work.