Can a ThreadPoolJob be paused if no locking or (de)/allocation?


#1

Hi JUCErs,

Scenario:

  • I have a ThreadPoolJob running at a (relatively) high priority (8).
  • To my knowledge there is no memory allocation or deallocation, locking of mutexes or anything that can cause interruption of that thread’s running.

But it still seems the thread gets interrupted (paused).

Is this possible if all guidelines for the audio thread’s non-interrupted processing are also followed in the task for a non-audio thread?

Cheers!