commit | 6036342f58bb350e4d95cb63d1567439b71165b7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 01 16:29:27 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 08 17:22:26 2021 +0200 |
tree | a57943bb2df87e09c4ff88790226628c9bfbdab5 | |
parent | b4e34766a38a1ea1fb80164b3abe3a68d2e8efeb [diff] |
MINOR: thread: make "ti" a const pointer and clean up thread_info a bit We want to make sure that the current thread_info accessed via "ti" will remain constant, so that we don't accidentally place new variable parts there and so that the compiler knows that info retrieved from there is not expected to have changed between two function calls. Only a few init locations had to be adjusted to use the array and the rest is unaffected.