In the current implementation pollqueue is not thread safe. The design of multi threads handle async events is thus causing issue in parallel environment. Given the low rate of async events, it should be OK to only handle them in the main thread to avoid unexpected racing issues. Change-Id: Iddd512235e84e9d77f60985bb1771aa4cc693004 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67533 Reviewed-by: Gabe Black <gabe.black@gmail.com> Reviewed-by: Yu-hsin Wang <yuhsingw@google.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>