support for disabling multithreading