Hello,
I've noticed that with SystemC 2.3.3, when I spawn a dynamic process, there is a huge memory consumption.
Here' s the code generating the problem
#include "test_module.h"
void test_module::my_process(int temp) {
printf("thread spwned @ %.1f\n",sc_simulation_time());
wait(1000,SC_NS);
}
void test_module::test_thread(void) {
int temp=0;
while(true) {
printf("current time is %.1f\n",sc_simulation_time());
if (sc_simulation_time()>=100000000) {
printf("stop here\n");
wait();
s