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 --- 222 unchanged lines hidden (view full) --- 231{ 232 if (inc_kids) 233 forEachKid([](Process *p) { p->syncResetOff(true); }); 234 235 _syncReset = false; 236} 237 238void |
239Process::run() 240{ 241 bool reset; 242 do { 243 reset = false; 244 try { 245 func->call(); 246 } catch(ScHalt) { --- 17 unchanged lines hidden (view full) --- 264void 265Process::setDynamic(DynamicSensitivity *s) 266{ 267 if (dynamicSensitivity) { 268 dynamicSensitivity->clear(); 269 delete dynamicSensitivity; 270 } 271 dynamicSensitivity = s; |
272} 273 274void 275Process::cancelTimeout() 276{ 277 if (timeoutEvent.scheduled()) 278 scheduler.deschedule(&timeoutEvent); 279} --- 109 unchanged lines hidden --- |