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

/gem5/src/base/
H A Dpollevent.ccdiff 9905:2a7c8ec11cff Mon Oct 07 10:03:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> 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.

Completed in 9 milliseconds