diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-10-07 16:03:15 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-10-07 16:03:15 +0200 |
commit | c0f367e51454dc9d2610bbd3266a80cec7b4ad69 (patch) | |
tree | 2eb387b9703f9d79d8d4291dd8516f19fa29a07a /src/base/loader/aout_object.cc | |
parent | 0dd6f87e63edcafdb2df9b582d768bfca9e78d6a (diff) | |
download | gem5-c0f367e51454dc9d2610bbd3266a80cec7b4ad69.tar.xz |
base: Fix a potential race in PollQueue::setupAsyncIO
There is a potential race between enabling asynchronous IO and
selecting the target for the SIGIO signal. This changeset move the
F_SETOWN call to before the F_SETFL call that enables SIGIO
delivery. This ensures that signals are always sent to the correct
process.
Diffstat (limited to 'src/base/loader/aout_object.cc')
0 files changed, 0 insertions, 0 deletions