M5thread is useful for running parallel programs in SE mode of Gem5.