Skip to content

thread large explosive

Robin Seifert edited this page Jul 14, 2023 · 2 revisions

Thread: Large Explosive

Legacy threading system that would spawn a new thread for each explosive. Allowing for more complex calculations to happen outside of the game world. With the only drawback being some incompatibilities with systems like sponge. As well performance hits if a lot of explosives went off at the same time. Purely due to thread starvation.

In recent versions has been replaced by a worker thread pool. Allowing for explosives to queue up and wait to be processed. This solves the thread starvation issue. Creating a more stable experience for larger servers. As well giving more direct control by server owners on thread count. So that bigger physical systems can split load more effectively.

Thread: Small Explosive

Works in much the same way but is smaller in scale.

History

  • Was used by explosives like nuke
  • Added in earlier version to prevent main thread from stalling
Clone this wiki locally