aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-unithread.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-02 19:44:37 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-02 19:45:48 +0200
commit2fc3356ae0d34dae87eb22c94f4b5eaa1873695b (patch)
treea0d3f99840b71a8a60951a2a3890bf0babdcb488 /src/grt/grt-unithread.ads
parent013c41bf28a636e32d7b62e89293f4ff172a5491 (diff)
downloadghdl-2fc3356ae0d34dae87eb22c94f4b5eaa1873695b.tar.gz
ghdl-2fc3356ae0d34dae87eb22c94f4b5eaa1873695b.tar.bz2
ghdl-2fc3356ae0d34dae87eb22c94f4b5eaa1873695b.zip
grt: add code to support systemc co-simulation.
Diffstat (limited to 'src/grt/grt-unithread.ads')
-rw-r--r--src/grt/grt-unithread.ads1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grt/grt-unithread.ads b/src/grt/grt-unithread.ads
index 6bfacab21..ce8678245 100644
--- a/src/grt/grt-unithread.ads
+++ b/src/grt/grt-unithread.ads
@@ -43,6 +43,7 @@ package Grt.Unithread is
-- Set and get the current process being executed by the thread.
procedure Set_Current_Process (Proc : Process_Acc);
+ pragma Export (C, Set_Current_Process, "__ghdl_set_current_process");
function Get_Current_Process return Process_Acc;
-- The stack2 for all sensitized process. Since they cannot have