Made dlib::thread_pool use std::thread and join on the threads in
thread_pool's destructor. The previous implementation used dlib's global thread pooling to allocate threads to dlib::thread_pool, however, this sometimes caused annoying behavior when used as part of a MATLAB mex file.
Showing
Please
register
or
sign in
to comment