SQUASH ME: missing update of sched_num_threads
SQUASH ME: missing occurrences in test applications