process.cc (13175:b93fb6caf043) | process.cc (13180:79e680f62779) |
---|---|
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 --- 382 unchanged lines hidden (view full) --- 391 new ::sc_core::sc_report(*report)); 392 } else { 393 _lastReport = nullptr; 394 } 395} 396 397::sc_core::sc_report *Process::lastReport() const { return _lastReport.get(); } 398 | 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 --- 382 unchanged lines hidden (view full) --- 391 new ::sc_core::sc_report(*report)); 392 } else { 393 _lastReport = nullptr; 394 } 395} 396 397::sc_core::sc_report *Process::lastReport() const { return _lastReport.get(); } 398 |
399Process::Process(const char *name, ProcessFuncWrapper *func) : | 399Process::Process(const char *name, ProcessFuncWrapper *func, bool internal) : |
400 ::sc_core::sc_process_b(name), excWrapper(nullptr), func(func), | 400 ::sc_core::sc_process_b(name), excWrapper(nullptr), func(func), |
401 _needsStart(true), _isUnwinding(false), _terminated(false), 402 _suspended(false), _disabled(false), _syncReset(false), refCount(0), 403 stackSize(::Fiber::DefaultStackSize), dynamicSensitivity(nullptr) | 401 _internal(internal), _needsStart(true), _isUnwinding(false), 402 _terminated(false), _suspended(false), _disabled(false), _syncReset(false), 403 refCount(0), stackSize(::Fiber::DefaultStackSize), 404 dynamicSensitivity(nullptr) |
404{ 405 _dynamic = 406 (::sc_core::sc_get_status() > 407 ::sc_core::SC_BEFORE_END_OF_ELABORATION); 408 _newest = this; 409} 410 411void --- 24 unchanged lines hidden --- | 405{ 406 _dynamic = 407 (::sc_core::sc_get_status() > 408 ::sc_core::SC_BEFORE_END_OF_ELABORATION); 409 _newest = this; 410} 411 412void --- 24 unchanged lines hidden --- |