diff options
author | Peter Nelson <peter@peterdn.com> | 2020-04-11 22:39:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 23:39:46 +0200 |
commit | eff27f39d595a7e90b230d2580a5ef4956688a05 (patch) | |
tree | 58fafdd406467bd6e537b555eb997a5f495c186e /AK | |
parent | 8aab8faf305c8e9ba2883232e30f27822feb4ba5 (diff) | |
download | serenity-eff27f39d595a7e90b230d2580a5ef4956688a05.zip |
Kernel: Store previous thread state upon all transitions to Stopped (#1753)
We now store the previous thread state in m_stop_state for all
transitions to the Stopped state via Thread::set_state.
Fixes #1752 whereupon resuming a thread that was stopped with SIGTSTP,
the previous state of the thread is not remembered correctly, resulting
in m_stop_state == State::Invalid and the associated assertion fails.
Diffstat (limited to 'AK')
0 files changed, 0 insertions, 0 deletions