-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sc_*_process: remove dynamic processes from process_table
Processes spawned during start_of_simulation() are considered dynamic processes, yet are still stored in the kernel's process table during initialization. The check in the destructors needs to catch these processes as well to avoid corruption of the process table during simulation teardown. This patch distinguishes between * SPAWN_ELAB (spawned during elaboration, static processes) * SPAWN_START (spawned during simulation start, dynamic process) * SPAWN_SIM (spawned during simulation, dynamic process) and to categorize dynamic() processes and remove all entries correctly from the process table.
- Loading branch information
Showing
4 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters