m4_comment([$Id: mutex_lock.so,v 10.1 2005/07/20 16:33:59 bostic Exp $]) define(M4PAGELOCAL, [mutex_lock]) include(m4/m4.seealso) m4_pf_header(m4_ref(mutex_lock), ifelse(M4API, C_API, [dnl int DB_ENV-__GT__mutex_lock(DB_ENV *dbenv, db_mutex_t mutex); ]) ifelse(M4API, CXX_API, [dnl int DbEnv::mutex_lock(db_mutex_t mutex); ])) m4_p([dnl The m4_refT(mutex_lock) locks the mutex allocated by m4_ref(mutex_alloc). The thread of control calling m4_ref(mutex_lock) will block until the lock is available.]) m4_when_after_envopen(mutex_lock) m4_return(mutex_lock, std) m4_parambegin m4_param(mutex, [dnl The m4_arg(mutex) parameter is a mutex previously allocated by m4_ref(mutex_alloc).]) m4_paramend m4_err(mutex_lock, einval) m4_seealso(DbEnv) m4_page_footer