commit | 522cfbc1ea86b1baf54856ba8908eb313a162cbe | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 03 10:16:39 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 20 11:37:57 2019 +0200 |
tree | 68c88798f1ce7e80a05b09fc9b1213048786cc10 | |
parent | b49a58dda27fe4b0b8943755e5c359b7b1739cc3 [diff] |
MINOR: init/threads: make the global threads an array of structs This way we'll be able to store more per-thread information than just the pthread pointer. The storage became an array of struct instead of an allocated array since it's very small (typically 512 bytes) and not worth the hassle of dealing with memory allocation on this. The array was also renamed thread_info to make its intended usage more explicit.