Commit Graph

7 Commits

Author SHA1 Message Date
Max Romanov
61eba6eef1 Wrapping libunit's malloc() and free() calls for logging purposes.
This change aids heap usage analysis in applications.
The alloc and free functions are also required for lvlhash due to the upcoming
threading support, because using main nxt_memalign() and nxt_free() isn't safe
in a multithreaded app environment.  The reason is that these functions may use
thread-local structures which aren't initialized properly in applications.
2020-09-29 22:58:04 +03:00
Igor Sysoev
5177b085b1 nxt_lvlhsh_each() refactoring and nxt_lvlhsh_each_init(). 2018-03-29 16:35:42 +03:00
Igor Sysoev
aad7752527 nxt_lvlhsh_retrieve(). 2018-03-29 16:35:32 +03:00
Igor Sysoev
8a4c8d64b2 nxt_lvlhsh_peek(). 2018-03-29 16:35:26 +03:00
Igor Sysoev
3fcda23f15 Style and comment fixes. 2017-06-23 13:28:39 +03:00
Igor Sysoev
f888a5310c Using new memory pool implementation. 2017-06-20 19:49:17 +03:00
Igor Sysoev
16cbf3c076 Initial version. 2017-01-17 20:00:00 +03:00