Searched hist:11757 (Results 1 - 2 of 2) sorted by relevance

/gem5/src/dev/net/
H A Ddist_iface.hh11757:78ef8daecd81 Tue Dec 06 12:33:00 EST 2016 Gabor Dozsa <gabor.dozsa@arm.com> 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>
H A Ddist_iface.cc11757:78ef8daecd81 Tue Dec 06 12:33:00 EST 2016 Gabor Dozsa <gabor.dozsa@arm.com> 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>

Completed in 11 milliseconds