Menu

ThreadingConcept

Sahits GmbH

Threads

< [Concepts]

This is a list of all the threads and how they are created:

  • Main thread starts the Game-Clock, which is the driver for all time related events
  • The Main thread also starts the JavaFX Application thread, the UI
  • The Main thread instantiates a clientServer event bus which uses a ThreadPool to propagate the events to
  • The actions in the engine are triggered by the AsyncEventBus. There is no need to define separate threads for the engines, which would be idling most of the time.
  • There are also two separate threads for the event buses which are local to the server/client

Related

Wiki: Concepts
Wiki: Home

MongoDB Logo MongoDB