summaryrefslogtreecommitdiff
path: root/src/dev/ps2.cc
diff options
context:
space:
mode:
authorMichael LeBeane <michael.lebeane@amd.com>2016-09-13 23:08:34 -0400
committerMichael LeBeane <michael.lebeane@amd.com>2016-09-13 23:08:34 -0400
commitfebab25957066cf9b470864b6bda38687918b36d (patch)
tree5b848413e9092c8c1c7a422b70e9228038e975db /src/dev/ps2.cc
parentcc58148fe11fd9f579cf7b918472552897c809fb (diff)
downloadgem5-febab25957066cf9b470864b6bda38687918b36d.tar.xz
dev: Exit correctly in dist-gem5
The receiver thread in dist_iface is allowed to directly exit the simulation. This can cause exit to be called twice if the main thread simultaneously wants to exit the simulation. Therefore, have the receiver thread enqueue a request to exit on the primary event queue for the main simulation thread to handle.
Diffstat (limited to 'src/dev/ps2.cc')
0 files changed, 0 insertions, 0 deletions