Commit 2f7da817 authored by yoogx's avatar yoogx
Browse files

* Model clean up

        For issue #18
parent 03f37cfb
...@@ -9,4 +9,4 @@ include $(srcdir)/../../Makefile.common ...@@ -9,4 +9,4 @@ include $(srcdir)/../../Makefile.common
EXTRA_DIST = $(AADL_FILES) $(SCENARIO_FILES) $(C_FILES) EXTRA_DIST = $(AADL_FILES) $(SCENARIO_FILES) $(C_FILES)
CLEANDIRS = ping_impl CLEANDIRS = ping_impl ping_local ping_rtems
...@@ -63,3 +63,9 @@ void user_do_ping_spg () ...@@ -63,3 +63,9 @@ void user_do_ping_spg ()
} }
fflush (stdout); fflush (stdout);
} }
void recover (void)
{
printf ("*** RECOVER ACTION ***\n");
fflush (stdout);
}
...@@ -5,9 +5,3 @@ void user_ping_spg (int i) ...@@ -5,9 +5,3 @@ void user_ping_spg (int i)
printf ("*** PING *** %d\n" ,i); printf ("*** PING *** %d\n" ,i);
fflush (stdout); fflush (stdout);
} }
void recover (void)
{
printf ("*** RECOVER ACTION ***\n");
fflush (stdout);
}
...@@ -61,7 +61,7 @@ thread packet_producer ...@@ -61,7 +61,7 @@ thread packet_producer
end packet_producer; end packet_producer;
thread implementation packet_producer.i thread implementation packet_producer.i
calls calls
Mycalls: { Mycalls: {
produce : subprogram produce_packet_spg; produce : subprogram produce_packet_spg;
}; };
...@@ -79,7 +79,7 @@ features ...@@ -79,7 +79,7 @@ features
end P; end P;
thread implementation P.Impl thread implementation P.Impl
calls calls
Mycalls: { Mycalls: {
P_Spg : subprogram Do_Ping_Spg; P_Spg : subprogram Do_Ping_Spg;
}; };
...@@ -97,7 +97,7 @@ features ...@@ -97,7 +97,7 @@ features
end Q; end Q;
thread implementation Q.Impl thread implementation Q.Impl
calls calls
Mycalls: { Mycalls: {
Q_Spg : subprogram Ping_Spg; Q_Spg : subprogram Ping_Spg;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment