Searched refs:tmgrp (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dtxn.h119 #define LOCK_TXNTHREAD(tmgrp) \
120 if (F_ISSET(tmgrp, DB_THREAD)) \
121 (void)__db_mutex_lock((tmgrp)->mutexp, -1)
122 #define UNLOCK_TXNTHREAD(tmgrp) \
123 if (F_ISSET(tmgrp, DB_THREAD)) \
124 (void)__db_mutex_unlock((tmgrp)->mutexp, -1)
126 #define LOCK_TXNREGION(tmgrp) \
127 (void)__db_mutex_lock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
128 #define UNLOCK_TXNREGION(tmgrp) \
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/txn/
H A Dtxn.c122 DB_TXNMGR *tmgrp; local
140 if ((ret = __os_calloc(1, sizeof(DB_TXNMGR), &tmgrp)) != 0)
144 tmgrp->mutexp = NULL;
145 tmgrp->dbenv = dbenv;
146 tmgrp->recover =
148 tmgrp->flags = LF_ISSET(DB_TXN_NOSYNC | DB_THREAD);
149 TAILQ_INIT(&tmgrp->txn_chain);
152 tmgrp->reginfo.dbenv = dbenv;
153 tmgrp->reginfo.appname = DB_APP_NONE;
155 tmgrp
[all...]

Completed in 90 milliseconds