commit | 9e4ead30953f964cf2f9f6738e432a267d857cb7 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Tue Sep 27 15:53:53 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Oct 13 16:45:28 2022 +0200 |
tree | 2e2de04fde3cfc4bc406e0d1217d0d81dc2b2fd4 | |
parent | 91b2305ad79bb7086840797b6e98bd791992444f [diff] |
MINOR: ring: ring_cast_from_area() cast from an allocated area Cast an unified ring + storage area to a ring from area, without reinitializing the data buffer. Reinitialize the waiters and the lock. It helps retrieving a previously allocated ring, from an mmap for example.