From: Howard Chu Date: Tue, 2 May 2006 00:58:05 +0000 (+0000) Subject: Use ldap_pvt_thread_pool_tid() X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8f8dfe7475b136d79f6fc8f29bd6cb05a4b00d6;p=openldap Use ldap_pvt_thread_pool_tid() --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 46c28dfc1e..bd3f6983dd 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1233,6 +1233,7 @@ connection_operation( void *ctx, void *arg_v ) ldap_pvt_thread_mutex_unlock( &slap_counters.sc_ops_mutex ); op->o_threadctx = ctx; + op->o_tid = ldap_pvt_thread_pool_tid( ctx ); switch ( tag ) { case LDAP_REQ_BIND: @@ -2253,6 +2254,7 @@ connection_fake_init( op->o_tmpmemctx = slap_sl_mem_create(SLAP_SLAB_SIZE, SLAP_SLAB_STACK, ctx); op->o_tmpmfuncs = &slap_sl_mfuncs; op->o_threadctx = ctx; + op->o_tid = ldap_pvt_thread_pool_tid( ctx ); op->o_conn = conn; op->o_connid = op->o_conn->c_connid;