Refined ODE Thread class