thread scheduler

Operating systems use a   thread scheduler   to determine which threads should be currently executing.