diff options
author | Thomas Gschwantner <tharre3@gmail.com> | 2018-06-10 21:58:34 +0200 |
---|---|---|
committer | Thomas Gschwantner <tharre3@gmail.com> | 2018-06-10 22:24:48 +0200 |
commit | 8af6a015453c3f4b0240ba8ac0fdd0772102629e (patch) | |
tree | 081bf23b56a5c9c6d6c43c0e9fd3aa6b472c4466 /README.md | |
parent | mpmc_ptr_ring: add include guard (diff) | |
download | wireguard-monolithic-historical-8af6a015453c3f4b0240ba8ac0fdd0772102629e.tar.xz wireguard-monolithic-historical-8af6a015453c3f4b0240ba8ac0fdd0772102629e.zip |
mpmc_ptr_ring: use unsigned int instead of size_t
For producers/consumers we use atomic_t which is really int, so size_t
could either be too large, wasting memory, or too small (unlikely).
For size, we also want to be using unsigned int, since the mask that we
derive from it is ANDed with producer/consumer.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions