Import BSDDB 4.7.25 (as of svn r89086)

This commit is contained in:
Zachary Ware
2017-09-04 13:40:25 -05:00
parent 4b29e0458f
commit 8f590873d0
4781 changed files with 2241032 additions and 6 deletions

View File

@@ -0,0 +1,47 @@
m4_comment([$Id: memp_openfd.so,v 10.4 2007/11/08 16:28:12 bostic Exp $])
define(M4PAGELOCAL, [memp_get_max_openfd, memp_set_max_openfd])
include(m4/m4.seealso)
m4_pf_header(m4_ref(memp_set_max_openfd),
ifelse(M4API, C_API, [dnl
int
DB_ENV-__GT__set_mp_max_openfd(DB_ENV *env, int maxopenfd);
m4_blank
int
DB_ENV-__GT__get_mp_max_openfd(DB_ENV *env, int *maxopenfdp);
])
ifelse(M4API, CXX_API, [dnl
int
DbEnv::set_mp_max_openfd(int maxopenfd);
m4_blank
int
DbEnv::get_mp_max_openfd(int *maxopenfdp);
]))
m4_p([dnl
The m4_refT(memp_set_max_openfd) limits the number of file descriptors
the library will open concurrently when flushing dirty pages from the
cache.])
m4_env_config(memp_set_max_openfd,
[limit on open file descriptors to flush dirty pages],
set_max_openfd, [the number of open file descriptors])
m4_scope_env(memp_set_max_write)
m4_return(memp_set_max_openfd, std)
m4_parambegin
m4_param(maxopenfd, [dnl
The maximum number of file descriptors that may be concurrently opened
by the library when flushing dirty pages from the cache.])
m4_paramend
m4_err(memp_set_max_openfd, einval)
m4_pf_getter(memp_get_max_openfd,
maximum number of file descriptors open,, maxopenfdp)
m4_seealso(DbMpool)
m4_page_footer