[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd main.c (init schema early)

I wrote:
>> main.c  1.208 -> 1.209
>> ITS#3917 init schema before parsing args
> Now slapd uses mutexes before calling ldap_pvt_thread_initialize().

Heh.  The slap tools do that anyway, since they never call that
function.  Which may mean it's harmless with the thread implementations
OpenLDAP supports, but in any case - is there any reason not to always
call ldap_pvt_thread_initialize() early, maybe just before main() checks
if argv[0] is a tool name?