jansel / opentuner

An extensible framework for program autotuning
http://opentuner.org/
MIT License
396 stars 115 forks source link

close thread pool after paralllel compilation #88

Closed ychen306 closed 8 years ago

ychen306 commented 8 years ago

Hey, Opentuner crashes in one of my autotuning project when ThreadPool throws "can't create new thread". Calling ThreadPool.close after using it seems to fix the problem. Normally the close method is called by gc and it works fine only in some cases.

jansel commented 8 years ago

Thanks!