From a8f8dfe7475b136d79f6fc8f29bd6cb05a4b00d6 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 2 May 2006 00:58:05 +0000 Subject: [PATCH] Use ldap_pvt_thread_pool_tid() --- servers/slapd/connection.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5