Review Board 2.0.15


dev: Fix race conditions at terminating dist-gem5 simulations

Review Request #3746 - Created Nov. 25, 2016 and submitted

Information
Gabor Dozsa
gem5
default
Reviewers
Default
Changeset 11718:dc064d920160
---------------------------
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>

   
Review request changed
Updated (Dec. 7, 2016, 1:06 a.m.)

Status: Closed (submitted)