process.hh (13308:30e825b4fd46) process.hh (13328:d5f4e801436a)
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

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

67 virtual ::sc_core::sc_curr_proc_kind procKind() const = 0;
68 bool needsStart() const { return _needsStart; }
69 void needsStart(bool ns) { _needsStart = ns; }
70 bool dynamic() const { return _dynamic; }
71 bool isUnwinding() const { return _isUnwinding; }
72 void isUnwinding(bool v) { _isUnwinding = v; }
73 bool terminated() const { return _terminated; }
74
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

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

67 virtual ::sc_core::sc_curr_proc_kind procKind() const = 0;
68 bool needsStart() const { return _needsStart; }
69 void needsStart(bool ns) { _needsStart = ns; }
70 bool dynamic() const { return _dynamic; }
71 bool isUnwinding() const { return _isUnwinding; }
72 void isUnwinding(bool v) { _isUnwinding = v; }
73 bool terminated() const { return _terminated; }
74
75 bool scheduled() const { return _scheduled; }
76 void scheduled(bool new_val) { _scheduled = new_val; }
77
75 void forEachKid(const std::function<void(Process *)> &work);
76
77 bool suspended() const { return _suspended; }
78 bool disabled() const { return _disabled; }
79
80 void suspend(bool inc_kids);
81 void resume(bool inc_kids);
82 void disable(bool inc_kids);

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

167 bool _timedOut;
168
169 bool _dontInitialize;
170
171 bool _needsStart;
172 bool _dynamic;
173 bool _isUnwinding;
174 bool _terminated;
78 void forEachKid(const std::function<void(Process *)> &work);
79
80 bool suspended() const { return _suspended; }
81 bool disabled() const { return _disabled; }
82
83 void suspend(bool inc_kids);
84 void resume(bool inc_kids);
85 void disable(bool inc_kids);

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

170 bool _timedOut;
171
172 bool _dontInitialize;
173
174 bool _needsStart;
175 bool _dynamic;
176 bool _isUnwinding;
177 bool _terminated;
178 bool _scheduled;
175
176 void terminate();
177
178 bool _suspended;
179 bool _suspendedReady;
180 bool _disabled;
181
182 bool _syncReset;

--- 62 unchanged lines hidden ---
179
180 void terminate();
181
182 bool _suspended;
183 bool _suspendedReady;
184 bool _disabled;
185
186 bool _syncReset;

--- 62 unchanged lines hidden ---