thread_atoms_insert
if (thread_atoms_insert(sched, sched_out))
if (thread_atoms_insert(sched, sched_in))
if (thread_atoms_insert(sched, thread))
if (thread_atoms_insert(sched, wakee))
if (thread_atoms_insert(sched, migrant))