Deleted Added
sdiff udiff text old ( 13260:4d18f1d20093 ) new ( 13285:86dc66ffac35 )
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

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

31#define __SYSTEMC_CORE_PROCESS_HH__
32
33#include <functional>
34#include <memory>
35#include <vector>
36
37#include "base/fiber.hh"
38#include "systemc/core/list.hh"
39#include "systemc/core/object.hh"
40#include "systemc/core/sched_event.hh"
41#include "systemc/core/sensitivity.hh"
42#include "systemc/ext/core/sc_event.hh"
43#include "systemc/ext/core/sc_module.hh"
44#include "systemc/ext/core/sc_process_handle.hh"
45
46namespace sc_core

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

126
127 bool dontInitialize() { return _dontInitialize; }
128 void dontInitialize(bool di) { _dontInitialize = di; }
129
130 void joinWait(::sc_core::sc_join *join) { joinWaiters.push_back(join); }
131
132 void waitCount(int count) { _waitCount = count; }
133
134 protected:
135 void timeout();
136
137 Process(const char *name, ProcessFuncWrapper *func, bool internal=false);
138
139 static Process *_newest;
140
141 virtual ~Process()

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

186
187 StaticSensitivities staticSensitivities;
188 DynamicSensitivity *dynamicSensitivity;
189 ResetSensitivities resetSensitivities;
190
191 std::unique_ptr<::sc_core::sc_report> _lastReport;
192
193 std::vector<::sc_core::sc_join *> joinWaiters;
194};
195
196} // namespace sc_gem5
197
198#endif //__SYSTEMC_CORE_PROCESS_HH__