⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lockng.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: lockng.so,v 1.6 2004/09/28 14:13:09 bostic Exp $])m4_ref_title(Upgrading m4_db Applications,    Release 4.2: DB_LOCK_NOTGRANTED,,    upgrade.4.2/verify, upgrade.4.2/repinit)m4_p([dnlIn previous releases, configuring lock or transaction timeout values orcalling the m4_refT(txn_begin) with the m4_ref(DB_TXN_NOWAIT) flagcaused database operation methods to return m4_ref(DB_LOCK_NOTGRANTED),or throw a m4_refcxx(DbLockNotGrantedException) exception.  Thisrequired applications to unnecessarily handle multiple errors orexception types.])m4_p([dnlIn the m4_db 4.2 release, with one exception, database operations willno longer return m4_ref(DB_LOCK_NOTGRANTED) or throw am4_refcxx(DbLockNotGrantedException) exception.  Instead, databaseoperations will return m4_ref(DB_LOCK_DEADLOCK) or throw am4_refcxx(DbDeadlockException) exception.  This change should requireno application changes, as applications must already be dealing with thepossible m4_ref(DB_LOCK_DEADLOCK) error return orm4_refcxx(DbDeadlockException) exception from database operations.])m4_p([dnlThe one exception to this rule is the m4_ref(dbh_get) method using them4_ref(DB_CONSUME_WAIT) flag to consume records from a Queue.  If lockor transaction timeouts are set, this method and flag combination mayreturn m4_ref(DB_LOCK_NOTGRANTED) or throw am4_refcxx(DbLockNotGrantedException) exception.])m4_p([dnlApplications wanting to distinguish between true deadlocks and timeoutscan configure database operation methods to returnm4_ref(DB_LOCK_NOTGRANTED) or throw am4_refcxx(DbLockNotGrantedException) exception using them4_ref(DB_TIME_NOTGRANTED) flag.])m4_p([dnlThe m4_ref(lock_get) and  m4_refT(lock_vec)s will continue to returnm4_ref(DB_LOCK_NOTGRANTED), or throw am4_refcxx(DbLockNotGrantedException) exception as they have previouslydone.])m4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -