thread based schedule