Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
James Lowden
OpenLDAP
Commits
39f93be7
Commit
39f93be7
authored
Jan 25, 1999
by
Kurt Zeilenga
Browse files
use of dbEnvInit_mutex missing -DHAVE_BERKELEY_DB2
parent
2a6670db
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldbm/init.c
View file @
39f93be7
...
...
@@ -19,7 +19,9 @@ ldbm_back_init(
char
*
argv
[
4
];
int
i
;
#ifdef HAVE_BERKELEY_DB2
extern
pthread_mutex_t
dbEnvInit_mutex
;
#endif
/* allocate backend-specific stuff */
li
=
(
struct
ldbminfo
*
)
ch_calloc
(
1
,
sizeof
(
struct
ldbminfo
)
);
...
...
@@ -81,7 +83,9 @@ ldbm_back_init(
pthread_cond_init
(
&
li
->
li_dbcache
[
i
].
dbc_cv
,
pthread_condattr_default
);
}
#ifdef HAVE_BERKELEY_DB2
pthread_mutex_init
(
&
dbEnvInit_mutex
,
pthread_mutexattr_default
);
#endif
be
->
be_private
=
li
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment