Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
d21bb304
Commit
d21bb304
authored
Jun 11, 2013
by
Davis King
Browse files
Changed code to avoid compiler errors in some environments.
parent
7fdd2850
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/threads/threads_kernel_shared.cpp
dlib/threads/threads_kernel_shared.cpp
+1
-1
No files found.
dlib/threads/threads_kernel_shared.cpp
View file @
d21bb304
...
...
@@ -75,7 +75,7 @@ namespace dlib
destructed
(
data_mutex
),
do_not_ever_destruct
(
false
)
{
#if WIN32
#if
def
WIN32
// Trying to destroy the global thread pool when we are part of a DLL and the
// DLL is being unloaded can sometimes lead to weird behavior. For example, in
// the python interpreter you will get the interpreter to hang. Or if we are
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment