/vis/multithreading/

Commands unique to multithreading mode.

Commands

actionOnEventQueueFull
maxEventQueueSize

actionOnEventQueueFull [wait]

When event queue for drawing gets full:
wait: event processing waits for vis manager to catch up.
discard: events are discarded for drawing.

Available at all Geant4 states.

Parameters
wait type s Omittable : default value = wait Parameter candidates : wait discard

maxEventQueueSize [maxSize]

Defines maximum event queue size. N <=0 means "unlimited".
If adding an event to the visualisation event queue would cause the queue size to exceed this value:
if actionOnEventQueueFull==wait the worker threads are paused for a short time to give the visualisation manager a chance to catch up.
if actionOnEventQueueFull==discard the event is discarded for drawing.

Available at all Geant4 states.

Parameters
maxSize type i Omittable : default value = 100