mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue