Skip to Content
Berkeley DB
book

Berkeley DB

by Sleepycat™ Software, Inc.
June 2001
Intermediate to advanced content levelIntermediate to advanced
688 pages
19h 18m
English
Sams
Content preview from Berkeley DB

Chapter 12. The Locking Subsystem

The Locking subsystem provides interprocess and intraprocess concurrency control mechanisms. Although the Locking system is used extensively by the Berkeley DB Access Methods and Transaction system, it may also be used as a standalone subsystem to provide concurrency control to any set of designated resources.

The Locking subsystem is created, initialized, and opened by calls to DBENV→open with the DB_INIT_LOCK or DB_INIT_CDB flags specified.

The lock_detect function provides the programmatic interface to the Berkeley DB deadlock detector. Whenever two threads of control issue lock requests that are not carefully ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Berkeley DB Book

The Berkeley DB Book

Himanshu Yadava
Linux Recipes for Oracle DBAs

Linux Recipes for Oracle DBAs

Darl Kuhn, Charles Kim, Bernard Lopuz
Fedora Linux

Fedora Linux

Chris Tyler

Publisher Resources

ISBN: 0735710643Purchase book