Searched refs:mutex_buf (Results 1 – 1 of 1) sorted by relevance
48 static MBEDTLS_MUTEX_T *mutex_buf = NULL; variable55 if(!mutex_buf) in Curl_mbedtlsthreadlock_thread_setup()63 mutex_buf[i] = CreateMutex(0, FALSE, 0); in Curl_mbedtlsthreadlock_thread_setup()64 if(mutex_buf[i] == 0) in Curl_mbedtlsthreadlock_thread_setup()76 if(!mutex_buf) in Curl_mbedtlsthreadlock_thread_cleanup()81 if(pthread_mutex_destroy(&mutex_buf[i])) in Curl_mbedtlsthreadlock_thread_cleanup()84 if(!CloseHandle(mutex_buf[i])) in Curl_mbedtlsthreadlock_thread_cleanup()88 free(mutex_buf); in Curl_mbedtlsthreadlock_thread_cleanup()89 mutex_buf = NULL; in Curl_mbedtlsthreadlock_thread_cleanup()98 if(pthread_mutex_lock(&mutex_buf[n])) { in Curl_mbedtlsthreadlock_lock_function()[all …]
Completed in 5 milliseconds