Lines Matching full:mutex
83 * u_cleanup() also clears any ICU heap functions, mutex functions or
123 * An opaque pointer type that represents an ICU mutex.
125 * struct or object that implements the mutex.
132 * Function Pointer type for a user supplied mutex initialization function.
134 * new mutex. The function implementation should create a mutex, and store a pointer
135 * to something that uniquely identifies the mutex into the UMTX that is supplied
138 * @param mutex Receives a pointer that identifies the new mutex.
139 * The mutex init function must set the UMTX to a non-null value.
140 * Subsequent calls by ICU to lock, unlock, or destroy a mutex will
141 * identify the mutex by the UMTX value.
147 typedef void U_CALLCONV UMtxInitFn (const void *context, UMTX *mutex, UErrorCode* status);
151 * Function Pointer type for a user supplied mutex functions.
153 * whenever ICU needs to lock, unlock, or destroy a mutex.
155 * @param mutex specify the mutex on which to operate.
159 typedef void U_CALLCONV UMtxFn (const void *context, UMTX *mutex);
163 * Set the functions that ICU will use for mutex operations
165 * directly access system functions for mutex operations
171 * a parameter to the user-supplied mutex functions each time they
173 * @param init Pointer to a mutex initialization function. Must be non-null.
174 * @param destroy Pointer to the mutex destroy function. Must be non-null.
175 * @param lock pointer to the mutex lock function. Must be non-null.
176 * @param unlock Pointer to the mutex unlock function. Must be non-null.