scheduler.cc (13259:3730df183b84) | scheduler.cc (13260:4d18f1d20093) |
---|---|
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 } 179 } 180 } 181 if (_current && !_current->needsStart()) { 182 if (_current->excWrapper) { 183 auto ew = _current->excWrapper; 184 _current->excWrapper = nullptr; 185 ew->throw_it(); | 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 } 179 } 180 } 181 if (_current && !_current->needsStart()) { 182 if (_current->excWrapper) { 183 auto ew = _current->excWrapper; 184 _current->excWrapper = nullptr; 185 ew->throw_it(); |
186 } else if (_current->syncReset()) { | 186 } else if (_current->inReset()) { |
187 _current->reset(false); 188 } 189 } 190} 191 192void 193Scheduler::ready(Process *p) 194{ --- 302 unchanged lines hidden --- | 187 _current->reset(false); 188 } 189 } 190} 191 192void 193Scheduler::ready(Process *p) 194{ --- 302 unchanged lines hidden --- |