schedule: return next thread pointer directly