ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/BDB/BDB.pm
(Generate patch)

Comparing BDB/BDB.pm (file contents):
Revision 1.6 by root, Sun Feb 11 22:07:23 2007 UTC vs.
Revision 1.9 by root, Sun Jul 8 14:57:59 2007 UTC

5=head1 SYNOPSIS 5=head1 SYNOPSIS
6 6
7 use BDB; 7 use BDB;
8 8
9=head1 DESCRIPTION 9=head1 DESCRIPTION
10
11See the eg/ directory in the distribution and the berkeleydb C
12documentation. This is inadequate, but the only sources of documentation
13known for this module so far.
10 14
11=head2 EXAMPLE 15=head2 EXAMPLE
12 16
13=head1 REQUEST ANATOMY AND LIFETIME 17=head1 REQUEST ANATOMY AND LIFETIME
14 18
63use strict 'vars'; 67use strict 'vars';
64 68
65use base 'Exporter'; 69use base 'Exporter';
66 70
67BEGIN { 71BEGIN {
68 our $VERSION = '0.1'; 72 our $VERSION = '0.5';
69 73
70 our @BDB_REQ = qw( 74 our @BDB_REQ = qw(
71 db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect 75 db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect
72 db_env_memp_sync db_env_memp_trickle 76 db_env_memp_sync db_env_memp_trickle
73 db_open db_close db_compact db_sync db_put db_get db_pget db_del db_key_range 77 db_open db_close db_compact db_sync db_put db_get db_pget db_del db_key_range
178Strictly equivalent to: 182Strictly equivalent to:
179 183
180 BDB::poll_wait, BDB::poll_cb 184 BDB::poll_wait, BDB::poll_cb
181 while BDB::nreqs; 185 while BDB::nreqs;
182 186
187=back
188
183=head3 CONTROLLING THE NUMBER OF THREADS 189=head3 CONTROLLING THE NUMBER OF THREADS
190
191=over 4
184 192
185=item BDB::min_parallel $nthreads 193=item BDB::min_parallel $nthreads
186 194
187Set the minimum number of AIO threads to C<$nthreads>. The current 195Set the minimum number of AIO threads to C<$nthreads>. The current
188default is C<8>, which means eight asynchronous operations can execute 196default is C<8>, which means eight asynchronous operations can execute

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines