process.hh (13093:bea17ab221ef) process.hh (13131:bf07048d69e4)
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

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

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

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

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

--- 55 unchanged lines hidden ---
331
332 static Process *_newest;
333
334 virtual ~Process()
335 {
336 popListNode();
337 delete func;
338 for (auto s: staticSensitivities)

--- 55 unchanged lines hidden ---