Zoomed Image

AMSX Scripting Language - Command : SetThreadPriority

Summary

Lower the thread priority for this script to avoid affecting system responsiveness

Description

Changes the priority of the current thread. Use to run long-running background transforms without impacting foreground server performance. The original priority is automatically restored when the script ends.

Parameters

ParameterDescription
cmdPriority level: "low" or "lowest" for lowest priority, "BelowNormal" for slightly below normal, anything else for normal

Syntax


SetThreadPriority "Priority level: "low" or "lowest" for lowest priority, "BelowNormal" for slightly below normal, anything else for normal"

Return to the AMSX Command Reference