Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
c34f2a1b
Commit
c34f2a1b
authored
Aug 31, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Sep 04, 2021
Browse files
ITS
#9650
Move ldap_pvt_thread_initialize into main.c
parent
fd5b6a17
Pipeline
#3426
passed with stage
in 44 minutes and 20 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/libevent_support.c
View file @
c34f2a1b
...
...
@@ -150,14 +150,6 @@ lload_libevent_init( void )
lload_libevent_cond_timedwait
};
#ifndef BALANCER_MODULE
/* only necessary if lload is a server, slapd already calls
* ldap_pvt_thread_initialize() */
if
(
ldap_pvt_thread_initialize
()
)
{
return
-
1
;
}
#endif
evthread_set_lock_callbacks
(
&
cbs
);
evthread_set_condition_callbacks
(
&
cond_cbs
);
evthread_set_id_callback
(
ldap_pvt_thread_self
);
...
...
servers/lloadd/main.c
View file @
c34f2a1b
...
...
@@ -378,6 +378,8 @@ main( int argc, char **argv )
slap_sl_mem_init
();
(
void
)
ldap_pvt_thread_initialize
();
serverName
=
lutil_progname
(
"lloadd"
,
argc
,
argv
);
#ifdef HAVE_NT_SERVICE_MANAGER
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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