released on exit so after few requests the thread pool will not contain a free
interpetators. (closes: #179)
PERL_INST *inst= (PERL_INST *) instance;
PerlInterpreter *perl;
char params[1024], *tmp_ptr, *ptr, *tmp;
- int count, ret;
+ int count, ret=0;
STRLEN n_a;
#ifndef USE_ITHREADS
perl = inst->perl;
FREETMPS ;
LEAVE ;
- if (ret <= freespace)
- return ret;
}
}
#ifdef USE_ITHREADS
pool_release(handle, instance);
#endif
- return 0;
+ return ret;
}
/*
* Do any per-module initialization that is separate to each