Engine and thread affinity

When configured for threaded mode, Adaptive Server tasks have a limited affinity to a specific engine.