Home | History | Annotate | Download | only in mpreal

Lines Matching refs:MLOCK_T

1641   bypassed, in which case you will need to define the type MLOCK_T,

1645 static MLOCK_T malloc_global_mutex = { initialization values };.
1660 #define MLOCK_T struct pthread_mlock_t
1668 static MLOCK_T malloc_global_mutex = { 0, 0, 0};
1670 static FORCEINLINE int pthread_acquire_lock (MLOCK_T *sl) {
1710 static FORCEINLINE void pthread_release_lock (MLOCK_T *sl) {
1725 static FORCEINLINE int pthread_try_lock (MLOCK_T *sl) {
1760 #define MLOCK_T struct win32_mlock_t
1768 static MLOCK_T malloc_global_mutex = { 0, 0, 0};
1770 static FORCEINLINE int win32_acquire_lock (MLOCK_T *sl) {
1792 static FORCEINLINE void win32_release_lock (MLOCK_T *sl) {
1801 static FORCEINLINE int win32_try_lock (MLOCK_T *sl) {
1825 #define MLOCK_T pthread_mutex_t
1832 static MLOCK_T malloc_global_mutex = PTHREAD_MUTEX_INITIALIZER;
1845 static int pthread_init_lock (MLOCK_T *sl) {
1856 #define MLOCK_T CRITICAL_SECTION
1864 static MLOCK_T malloc_global_mutex;
1896 /* static MLOCK_T malloc_global_mutex = ... */
2464 MLOCK_T mutex; /* locate lock among fields that rarely change */