aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-processes.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-03-07 05:50:08 +0100
committerTristan Gingold <tgingold@free.fr>2017-03-09 20:42:57 +0100
commit101dd876888f9531cea6657e63706cb43d7c7a67 (patch)
tree18718838c39f7985bcbf3c9842f31ab79ca5d735 /src/grt/grt-processes.adb
parent0b7ccf5869d61528d1a7dbb4fed98b0e300bc7a3 (diff)
downloadghdl-101dd876888f9531cea6657e63706cb43d7c7a67.tar.gz
ghdl-101dd876888f9531cea6657e63706cb43d7c7a67.tar.bz2
ghdl-101dd876888f9531cea6657e63706cb43d7c7a67.zip
Add start_of_processes callback, used by grt-waves
Fix #300
Diffstat (limited to 'src/grt/grt-processes.adb')
-rw-r--r--src/grt/grt-processes.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/grt/grt-processes.adb b/src/grt/grt-processes.adb
index 935b74121..208a99b18 100644
--- a/src/grt/grt-processes.adb
+++ b/src/grt/grt-processes.adb
@@ -739,6 +739,12 @@ package body Grt.Processes is
Table : Process_Acc_Array_Acc;
Last : Natural;
begin
+ if Postponed then
+ null;
+ else
+ Call_Callbacks (Hooks.Cb_Start_Of_Processes);
+ end if;
+
if Options.Flag_Stats then
Stats.Start_Processes;
end if;