• sigbjorn's avatar
    Provide cleanup for timer_global_clock singleton, issue #505 (#512) · 9dad00ec
    sigbjorn authored
    * temporary workaround for python hanging on dlib::shared_ptr_thread_safe<global_clock> when extension-module using dlib is unloaded on windows platform
    
    * added some more doc and tests for the new delete_global_clock function. Minor adjustment to singleton pattern to allow easy access to singleton shared ptr
    
    * alternate _WIN32 specific solution, with no extra functions nor user-actions needed
    
    * removed floating/obsolete delete_global_clock, tab to space
    
    * leaving linux code unchanged in static desctructor
    
    * cleanup not modified files
    
    * align formatting
    9dad00ec
Name
Last commit
Last update
dlib Loading commit data...
docs Loading commit data...
examples Loading commit data...
python_examples Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
setup.py Loading commit data...