Commit 7eb83b48 authored by yoogx's avatar yoogx

* Added consume_spg()

parent f6fc7f07
...@@ -5,4 +5,11 @@ void print_spg ...@@ -5,4 +5,11 @@ void print_spg
(producer__consumer__alpha_type a_data_in) { (producer__consumer__alpha_type a_data_in) {
printf("%d\n", a_data_in); printf("%d\n", a_data_in);
fflush(stdout);
}
void consume_spg (producer__consumer__alpha_type data)
{
printf ("Consume %d\n", data);
fflush(stdout);
} }
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