Review Board 2.0.15


sim: Add support for notifying Drainable objects of a fork

Review Request #3277 - Created Jan. 14, 2016 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 11297:80ea5f59f09a
---------------------------
sim: Add support for notifying Drainable objects of a fork

When forking a gem5 process, some objects need to clean up resources
(mainly file descriptions) shared between the child and the parent of
the fork. This changeset adds the notifyFork() method to Drainable,
which is called in the child process.

Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
[sascha.bischoff@arm.com: Rebased patches onto a newer gem5 version]
Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>

   
Review request changed
Updated (March 4, 2016, 2:57 a.m.)

Status: Closed (submitted)