mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 14:51:27 +02:00
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:
parent
7d392a592d
commit
252754c745
@ -230,7 +230,7 @@ static inline void ha_set_thread(const struct thread_info *thr)
|
|||||||
ti = thr;
|
ti = thr;
|
||||||
tg = thr->tg;
|
tg = thr->tg;
|
||||||
tid = thr->tid;
|
tid = thr->tid;
|
||||||
tid_bit = thr->ltid_bit;
|
tid_bit = 1UL << tid; /* FIXME: must become thr->ltid_bit */
|
||||||
th_ctx = &ha_thread_ctx[tid];
|
th_ctx = &ha_thread_ctx[tid];
|
||||||
tgid = tg->tgid;
|
tgid = tg->tgid;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user