diff options
author | Gabor Dozsa <gabor.dozsa@arm.com> | 2016-12-06 17:33:06 +0000 |
---|---|---|
committer | Gabor Dozsa <gabor.dozsa@arm.com> | 2016-12-06 17:33:06 +0000 |
commit | ecf68fac40feb7dc5ba8eba5ebc7f07045b088bb (patch) | |
tree | 7b67fd36b1a81eed0ef49a95607aa467389f6fe4 /src/mem/abstract_mem.hh | |
parent | 3ef797623abaeb93049d59c8e90ba57f2ee9c7e1 (diff) | |
download | gem5-ecf68fac40feb7dc5ba8eba5ebc7f07045b088bb.tar.xz |
dev: Fix race conditions at terminating dist-gem5 simulations
Two problems may arise when a distributed gem5 simulation terminates:
(i) simulation thread(s) may get stuck in an incomplete synchronisation
event which prohibits processing the simulation exit event; and (ii) a
stale receiver thread may try to access objects that have already been
deleted while exiting gem5. This patch terminates receive threads properly
and aborts the processing of any incomplete synchronisation event.
Change-Id: I72337aa12c7926cece00309640d478b61e55a429
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/mem/abstract_mem.hh')
0 files changed, 0 insertions, 0 deletions