255
255
int safe_mutex_init(safe_mutex_t *mp, const pthread_mutexattr_t *attr,
256
256
const char *file, uint line);
257
int safe_mutex_lock(safe_mutex_t *mp, my_bool try_lock, const char *file, uint line);
257
int safe_mutex_lock(safe_mutex_t *mp, bool try_lock, const char *file, uint line);
258
258
int safe_mutex_unlock(safe_mutex_t *mp,const char *file, uint line);
259
259
int safe_mutex_destroy(safe_mutex_t *mp,const char *file, uint line);
260
260
int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp,const char *file,