Lines Matching full:mutex
66 * u_cleanup() also clears any ICU heap functions, mutex functions or
165 * An opaque pointer type that represents an ICU mutex.
167 * struct or object that implements the mutex.
174 * Function Pointer type for a user supplied mutex initialization function.
176 * new mutex. The function implementation should create a mutex, and store a pointer
177 * to something that uniquely identifies the mutex into the UMTX that is supplied
180 * @param mutex Receives a pointer that identifies the new mutex.
181 * The mutex init function must set the UMTX to a non-null value.
182 * Subsequent calls by ICU to lock, unlock, or destroy a mutex will
183 * identify the mutex by the UMTX value.
189 typedef void U_CALLCONV UMtxInitFn (const void *context, UMTX *mutex, UErrorCode* status);
193 * Function Pointer type for a user supplied mutex functions.
195 * whenever ICU needs to lock, unlock, or destroy a mutex.
197 * @param mutex specify the mutex on which to operate.
201 typedef void U_CALLCONV UMtxFn (const void *context, UMTX *mutex);
205 * Set the functions that ICU will use for mutex operations
207 * directly access system functions for mutex operations
211 * a parameter to the user-supplied mutex functions each time they
213 * @param init Pointer to a mutex initialization function. Must be non-null.
214 * @param destroy Pointer to the mutex destroy function. Must be non-null.
215 * @param lock pointer to the mutex lock function. Must be non-null.
216 * @param unlock Pointer to the mutex unlock function. Must be non-null.