Deleted Added
sdiff udiff text old ( 13175:b93fb6caf043 ) new ( 13180:79e680f62779 )
full compact
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

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

331
332 virtual Fiber *fiber() { return Fiber::primaryFiber(); }
333
334 static Process *newest() { return _newest; }
335
336 void lastReport(::sc_core::sc_report *report);
337 ::sc_core::sc_report *lastReport() const;
338
339 protected:
340 Process(const char *name, ProcessFuncWrapper *func);
341
342 static Process *_newest;
343
344 virtual ~Process()
345 {
346 popListNode();
347 delete func;
348 for (auto s: staticSensitivities)
349 delete s;
350 }
351
352 ::sc_core::sc_event _resetEvent;
353 ::sc_core::sc_event _terminatedEvent;
354
355 ProcessFuncWrapper *func;
356 sc_core::sc_curr_proc_kind _procKind;
357 bool _needsStart;
358 bool _dynamic;
359 bool _isUnwinding;
360 bool _terminated;
361
362 void terminate();
363
364 bool _suspended;

--- 39 unchanged lines hidden ---