F_RESET
while (t->flags & (F_RESET|F_CALLBACK))
t->flags &= ~(F_UDISABLED|F_RESET);
if (t->flags & F_RESET)
t->flags |= F_RESET;