process.cc (13133:41d8cd260825) | process.cc (13175:b93fb6caf043) |
---|---|
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 --- 324 unchanged lines hidden (view full) --- 333void 334Process::run() 335{ 336 bool reset; 337 do { 338 reset = false; 339 try { 340 func->call(); | 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 --- 324 unchanged lines hidden (view full) --- 333void 334Process::run() 335{ 336 bool reset; 337 do { 338 reset = false; 339 try { 340 func->call(); |
341 } catch(ScHalt) { 342 std::cout << "Terminating process " << name() << std::endl; |
|
341 } catch(const ::sc_core::sc_unwind_exception &exc) { 342 reset = exc.is_reset(); 343 _isUnwinding = false; 344 } 345 } while (reset); 346 needsStart(true); 347} 348 --- 85 unchanged lines hidden --- | 343 } catch(const ::sc_core::sc_unwind_exception &exc) { 344 reset = exc.is_reset(); 345 _isUnwinding = false; 346 } 347 } while (reset); 348 needsStart(true); 349} 350 --- 85 unchanged lines hidden --- |