src/thread/stdcpp/SDL_syscond.cpp
changeset 9923 934692406c03
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
     1.1 --- a/src/thread/stdcpp/SDL_syscond.cpp	Wed Nov 25 21:39:28 2015 +0100
     1.2 +++ b/src/thread/stdcpp/SDL_syscond.cpp	Sun Nov 15 13:04:42 2015 -0500
     1.3 @@ -128,7 +128,7 @@
     1.4      }
     1.5  
     1.6      try {
     1.7 -        std::unique_lock<std::recursive_mutex> cpp_lock(mutex->cpp_mutex, std::defer_lock_t());
     1.8 +        std::unique_lock<std::recursive_mutex> cpp_lock(mutex->cpp_mutex, std::adopt_lock_t());
     1.9          if (ms == SDL_MUTEX_MAXWAIT) {
    1.10              cond->cpp_cond.wait(
    1.11                  cpp_lock