Memory pools refactoring.

This commit is contained in:
Igor Sysoev
2017-06-19 16:26:19 +03:00
parent 7574c64992
commit b1b9f621a4
17 changed files with 1133 additions and 937 deletions

View File

@@ -207,6 +207,12 @@ nxt_bswap32(val) \
| ((val) << 24))
#define nxt_is_power_of_two(value) \
((((value) - 1) & (value)) == 0)
#define nxt_lg2(value) \
(31 - __builtin_clz(value))
#define \
nxt_align_size(d, a) \