Home
last modified time | relevance | path

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

/PHP-7.3/TSRM/
H A DTSRM.h65 # define MUTEX_T CRITICAL_SECTION * macro
68 # define MUTEX_T pth_mutex_t * macro
71 # define MUTEX_T pthread_mutex_t * macro
74 # define MUTEX_T st_mutex_t macro
126 TSRM_API MUTEX_T tsrm_mutex_alloc(void);
127 TSRM_API void tsrm_mutex_free(MUTEX_T mutexp);
128 TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp);
129 TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp);
H A DTSRM.c55 static MUTEX_T tsmm_mutex; /* thread-safe memory manager mutex */
596 TSRM_API MUTEX_T tsrm_mutex_alloc(void) in tsrm_mutex_alloc()
598 MUTEX_T mutexp; in tsrm_mutex_alloc()
603 mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); in tsrm_mutex_alloc()
619 TSRM_API void tsrm_mutex_free(MUTEX_T mutexp) in tsrm_mutex_free()
644 TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp) in tsrm_mutex_lock()
667 TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp) in tsrm_mutex_unlock()
/PHP-7.3/ext/gd/libgd/
H A Dgdhelpers.h32 #define gdMutexDeclare(x) MUTEX_T x
/PHP-7.3/ext/pdo_oci/
H A Dpdo_oci.c86 static MUTEX_T pdo_oci_env_mutex;
/PHP-7.3/Zend/
H A Dzend_ts_hash.h28 MUTEX_T mx_reader;
29 MUTEX_T mx_writer;
H A Dzend_strtod.c551 static MUTEX_T dtoa_mutex;
552 static MUTEX_T pow5mult_mutex;
H A Dzend_virtual_cwd.c85 MUTEX_T cwd_mutex;
/PHP-7.3/main/
H A Dreentrancy.c42 static MUTEX_T reentrant_locks[NUMBER_OF_LOCKS];
/PHP-7.3/ext/standard/
H A Dphp_crypt_r.c57 MUTEX_T php_crypt_extended_init_lock;
H A Dstring.c124 static MUTEX_T locale_mutex = NULL;
/PHP-7.3/ext/sockets/
H A Dsendrecvmsg.c91 static MUTEX_T ancillary_mutex;
/PHP-7.3/ext/opcache/
H A Dzend_shared_alloc.c54 static MUTEX_T zts_lock;
/PHP-7.3/ext/curl/
H A Dinterface.c94 static MUTEX_T *php_curl_openssl_tsl = NULL;
115 if (*((MUTEX_T *) m) = tsrm_mutex_alloc()) { in php_curl_ssl_mutex_create()
124 tsrm_mutex_free(*((MUTEX_T *) m)); in php_curl_ssl_mutex_destroy()
130 return tsrm_mutex_lock(*((MUTEX_T *) m)); in php_curl_ssl_mutex_lock()
135 return tsrm_mutex_unlock(*((MUTEX_T *) m)); in php_curl_ssl_mutex_unlock()
1469 php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); in PHP_MINIT_FUNCTION()
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_structs.h307 MUTEX_T LOCK_access;
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c86 static MUTEX_T pcre_mt = NULL;

Completed in 81 milliseconds