MINOR: tinfo: make tid temporarily still reflect global ID

For now we still set tid_bit to (1UL << tid) because FDs will not
work with more than one group without this, but once FDs start to
adopt local masks this must change to thr->ltid_bit.
This commit is contained in:
Willy Tarreau 2022-06-14 10:43:01 +02:00
parent 7d392a592d
commit 252754c745

View File

@ -230,7 +230,7 @@ static inline void ha_set_thread(const struct thread_info *thr)
ti = thr;
tg = thr->tg;
tid = thr->tid;
tid_bit = thr->ltid_bit;
tid_bit = 1UL << tid; /* FIXME: must become thr->ltid_bit */
th_ctx = &ha_thread_ctx[tid];
tgid = tg->tgid;
} else {