Does this process have to run at the same priority as idle? Is there a problem with a deadlock in the priority switching process of the vm?
No, it probably shouldn't run at the same priority (I just chose the lowest priority and didn't think more about that). The latest version increases this priority to 20. But still, this doesn't solve the original problem ...
Lukas