"tools/imglab/git@developer.sourcefind.cn:OpenDAS/dlib.git" did not exist on "8fc2f4360758d8f8485d01f47584f6e629302374"
Commit 4adb16cc authored by Davis King's avatar Davis King
Browse files

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