Home
last modified time | relevance | path

Searched refs:php_curl_openssl_tsl (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/curl/
H A Dinterface.c71 static MUTEX_T *php_curl_openssl_tsl = NULL; variable
78 tsrm_mutex_lock(php_curl_openssl_tsl[n]); in php_curl_ssl_lock()
80 tsrm_mutex_unlock(php_curl_openssl_tsl[n]); in php_curl_ssl_lock()
377 php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); in PHP_MINIT_FUNCTION()
378 if (!php_curl_openssl_tsl) { in PHP_MINIT_FUNCTION()
383 php_curl_openssl_tsl[i] = tsrm_mutex_alloc(); in PHP_MINIT_FUNCTION()
547 if (php_curl_openssl_tsl) { in PHP_MSHUTDOWN_FUNCTION()
554 tsrm_mutex_free(php_curl_openssl_tsl[i]); in PHP_MSHUTDOWN_FUNCTION()
557 free(php_curl_openssl_tsl); in PHP_MSHUTDOWN_FUNCTION()
558 php_curl_openssl_tsl = NULL; in PHP_MSHUTDOWN_FUNCTION()

Completed in 8 milliseconds