A multi-thread flow