progschj / ThreadPool

A simple C++11 Thread Pool implementation
zlib License
7.63k stars 2.21k forks source link

Memory usage? #94

Open WindowsNT opened 2 years ago

WindowsNT commented 2 years ago

It's very nice. Can it run without the call to std::make_shared<> to avoid a memory allocation?

Quentin-xue commented 1 year ago

std::make_shared<> will release it when no one use it anymore do you think this will cause memory leak or something else?