Commit 4adb16cc authored by Davis King's avatar Davis King

Added missing mutex lock

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402691
parent 1f063306
...@@ -46,6 +46,7 @@ namespace dlib ...@@ -46,6 +46,7 @@ namespace dlib
num_threads_in_pool ( num_threads_in_pool (
) const ) const
{ {
auto_mutex M(m);
return tasks.size(); return tasks.size();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment