Lines Matching defs:M

57 #define hb_mutex_impl_init(M)	InitializeCriticalSectionEx (M, 0, 0)  argument
59 #define hb_mutex_impl_init(M) InitializeCriticalSection (M) argument
61 #define hb_mutex_impl_lock(M) EnterCriticalSection (M) argument
62 #define hb_mutex_impl_unlock(M) LeaveCriticalSection (M) argument
63 #define hb_mutex_impl_finish(M) DeleteCriticalSection (M) argument
71 #define hb_mutex_impl_init(M) pthread_mutex_init (M, NULL) argument
72 #define hb_mutex_impl_lock(M) pthread_mutex_lock (M) argument
73 #define hb_mutex_impl_unlock(M) pthread_mutex_unlock (M) argument
74 #define hb_mutex_impl_finish(M) pthread_mutex_destroy (M) argument
89 #define hb_mutex_impl_init(M) *(M) = 0 argument
90 #define hb_mutex_impl_lock(M) HB_STMT_START { while (__sync_lock_test_and_set((M), 1)) HB_SCHED_YIE… argument
91 #define hb_mutex_impl_unlock(M) __sync_lock_release (M) argument
92 #define hb_mutex_impl_finish(M) HB_STMT_START {} HB_STMT_END argument
107 #define hb_mutex_impl_init(M) *(M) = 0 argument
108 #define hb_mutex_impl_lock(M) HB_STMT_START { while (*(M)) HB_SCHED_YIELD (); (*(M))++; } HB_STMT_E… argument
109 #define hb_mutex_impl_unlock(M) (*(M))--; argument
110 #define hb_mutex_impl_finish(M) HB_STMT_START {} HB_STMT_END argument
117 #define hb_mutex_impl_init(M) HB_STMT_START {} HB_STMT_END argument
118 #define hb_mutex_impl_lock(M) HB_STMT_START {} HB_STMT_END argument
119 #define hb_mutex_impl_unlock(M) HB_STMT_START {} HB_STMT_END argument
120 #define hb_mutex_impl_finish(M) HB_STMT_START {} HB_STMT_END argument