… | |
… | |
107 | use strict 'vars'; |
107 | use strict 'vars'; |
108 | |
108 | |
109 | use base 'Exporter'; |
109 | use base 'Exporter'; |
110 | |
110 | |
111 | BEGIN { |
111 | BEGIN { |
112 | our $VERSION = '1.3'; |
112 | our $VERSION = '1.4'; |
113 | |
113 | |
114 | our @BDB_REQ = qw( |
114 | our @BDB_REQ = qw( |
115 | db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect |
115 | db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect |
116 | db_env_memp_sync db_env_memp_trickle |
116 | db_env_memp_sync db_env_memp_trickle |
117 | db_open db_close db_compact db_sync db_upgrade |
117 | db_open db_close db_compact db_sync db_upgrade |
… | |
… | |
671 | |
671 | |
672 | In short: the parent will, after a short pause, continue as if fork had |
672 | In short: the parent will, after a short pause, continue as if fork had |
673 | not been called, while the child will act as if BDB has not been used |
673 | not been called, while the child will act as if BDB has not been used |
674 | yet. |
674 | yet. |
675 | |
675 | |
|
|
676 | Win32 note: there is no fork on win32, and perls emulation of it is too |
|
|
677 | broken to be supported, so do not use BDB in a windows pseudo-fork, better |
|
|
678 | yet, switch to a more capable platform. |
|
|
679 | |
676 | =head2 MEMORY USAGE |
680 | =head2 MEMORY USAGE |
677 | |
681 | |
678 | Per-request usage: |
682 | Per-request usage: |
679 | |
683 | |
680 | Each aio request uses - depending on your architecture - around 100-200 |
684 | Each aio request uses - depending on your architecture - around 100-200 |