mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
/* DO NOT EDIT: automatically built by dist/s_include. */
|
|
#ifndef _mutex_ext_h_
|
|
#define _mutex_ext_h_
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
int __db_fcntl_mutex_init __P((DB_ENV *, MUTEX *, u_int32_t));
|
|
int __db_fcntl_mutex_lock __P((DB_ENV *, MUTEX *, DB_FH *));
|
|
int __db_fcntl_mutex_unlock __P((DB_ENV *, MUTEX *));
|
|
int __db_fcntl_mutex_destroy __P((MUTEX *));
|
|
int __db_pthread_mutex_init __P((DB_ENV *, MUTEX *, u_int32_t));
|
|
int __db_pthread_mutex_lock __P((DB_ENV *, MUTEX *));
|
|
int __db_pthread_mutex_unlock __P((DB_ENV *, MUTEX *));
|
|
int __db_pthread_mutex_destroy __P((MUTEX *));
|
|
int __db_tas_mutex_init __P((DB_ENV *, MUTEX *, u_int32_t));
|
|
int __db_tas_mutex_lock __P((DB_ENV *, MUTEX *));
|
|
int __db_tas_mutex_unlock __P((DB_ENV *, MUTEX *));
|
|
int __db_tas_mutex_destroy __P((MUTEX *));
|
|
int __db_mutex_alloc __P((DB_ENV *, REGINFO *, MUTEX **));
|
|
void __db_mutex_free __P((DB_ENV *, REGINFO *, MUTEX *));
|
|
int __db_shreg_locks_record __P((DB_ENV *, MUTEX *, REGINFO *,
|
|
REGMAINT *));
|
|
void __db_shreg_locks_clear __P((MUTEX *, REGINFO *, REGMAINT *));
|
|
void __db_shreg_locks_destroy __P((REGINFO *, REGMAINT *));
|
|
int __db_shreg_mutex_init __P((DB_ENV *, MUTEX *, u_int32_t,
|
|
u_int32_t, REGINFO *, REGMAINT *));
|
|
void __db_shreg_maintinit __P((REGINFO *, void *addr, size_t));
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
#endif /* _mutex_ext_h_ */
|