process.cc (13307:e30fee54d354) process.cc (13310:160fb526ab4d)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 169 unchanged lines hidden (view full) ---

178 // Propogate the reset to our children no matter what happens to us.
179 if (inc_kids)
180 forEachKid([](Process *p) { p->reset(true); });
181
182 // If we're in the middle of unwinding, ignore the reset request.
183 if (_isUnwinding)
184 return;
185
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 169 unchanged lines hidden (view full) ---

178 // Propogate the reset to our children no matter what happens to us.
179 if (inc_kids)
180 forEachKid([](Process *p) { p->reset(true); });
181
182 // If we're in the middle of unwinding, ignore the reset request.
183 if (_isUnwinding)
184 return;
185
186 // Clear suspended ready since we're about to run regardless.
187 _suspendedReady = false;
186
187 _resetEvent.notify();
188
189 if (_needsStart) {
190 scheduler.runNow(this);
191 } else {
192 _isUnwinding = true;
193 injectException(resetException);

--- 249 unchanged lines hidden ---
188
189 _resetEvent.notify();
190
191 if (_needsStart) {
192 scheduler.runNow(this);
193 } else {
194 _isUnwinding = true;
195 injectException(resetException);

--- 249 unchanged lines hidden ---