debian man page for coro::bdb

Query: coro::bdb

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

BDB(3pm)						User Contributed Perl Documentation						  BDB(3pm)

NAME
Coro::BDB - truly asynchronous bdb access
SYNOPSIS
use Coro::BDB; use BDB; # can now use any of the bdb requests
DESCRIPTION
This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. This module implements a thin wrapper around the BDB module: Each BDB request that could block and doesn't get passed a callback will normally block all coroutines. after loading this module, this will no longer be the case (it provides a suitable sync prepare callback). It will also register an AnyEvent watcher as soon as AnyEvent chooses an event loop. The AnyEvent watcher can be disabled by executing "undef $Coro::BDB::WATCHER". Please notify the author of when and why you think this was necessary. This module does not export anything (unlike Coro::AIO), as BDB already supports leaving out the callback. (Unfortunately, it ties a C context to each coroutine executing such a callback, so in the future, it might export more efficient wrappers).
SEE ALSO
BDB of course.
AUTHOR
Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/ perl v5.14.2 2012-04-13 BDB(3pm)
Related Man Pages
anyevent::impl::tk(3pm) - debian
anyevent::loop(3pm) - debian
coro::aio(3pm) - debian
coro::select(3pm) - debian
coro::storable(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Detecting unused variables...
One instance of comparing grep and awk
Weird 'find' results
A (ksh) Library For and From UNIX.com