Propagate TDF_NEEDRESCHED to replacement thread in sched_switch().
Propagate TDF_NEEDRESCHED to replacement thread in sched_switch().

Reviewed by:    julian, jhb (in October)
Approved by:    sam (mentor)
MFC after:      4 weeks

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase