process.hh (12997:cfc14d8f4725) process.hh (12998:68d2c7538b82)
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

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

320 virtual Fiber *fiber() { return Fiber::primaryFiber(); }
321
322 static Process *newest() { return _newest; }
323
324 void lastReport(::sc_core::sc_report *report);
325 ::sc_core::sc_report *lastReport() const;
326
327 protected:
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

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

320 virtual Fiber *fiber() { return Fiber::primaryFiber(); }
321
322 static Process *newest() { return _newest; }
323
324 void lastReport(::sc_core::sc_report *report);
325 ::sc_core::sc_report *lastReport() const;
326
327 protected:
328 Process(const char *name, ProcessFuncWrapper *func, bool _dynamic,
329 bool needs_start);
328 Process(const char *name, ProcessFuncWrapper *func, bool _dynamic);
330
331 static Process *_newest;
332
333 virtual ~Process()
334 {
335 delete func;
336 for (auto s: staticSensitivities)
337 delete s;

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

342
343 ProcessFuncWrapper *func;
344 sc_core::sc_curr_proc_kind _procKind;
345 bool _needsStart;
346 bool _dynamic;
347 bool _isUnwinding;
348 bool _terminated;
349
329
330 static Process *_newest;
331
332 virtual ~Process()
333 {
334 delete func;
335 for (auto s: staticSensitivities)
336 delete s;

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

341
342 ProcessFuncWrapper *func;
343 sc_core::sc_curr_proc_kind _procKind;
344 bool _needsStart;
345 bool _dynamic;
346 bool _isUnwinding;
347 bool _terminated;
348
349 void terminate();
350
350 bool _suspended;
351 bool _suspendedReady;
352 bool _disabled;
353
354 bool _syncReset;
355
356 int refCount;
357

--- 32 unchanged lines hidden ---
351 bool _suspended;
352 bool _suspendedReady;
353 bool _disabled;
354
355 bool _syncReset;
356
357 int refCount;
358

--- 32 unchanged lines hidden ---