Made it so the matrix only uses matlab's allocation routines for matrices that
are directly the arguments of a mex function. This way, we avoid the problem of dlib::matrix objects being created in other threads that internally call into matlab and mess it up (since matlab is not thread safe in any sense).
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment