]> source.dussan.org Git - rspamd.git/commit
* Add memory pool support.
authorcebka@mailsupport.rambler.ru <cebka@mailsupport.rambler.ru>
Thu, 18 Sep 2008 15:27:53 +0000 (19:27 +0400)
committercebka@mailsupport.rambler.ru <cebka@mailsupport.rambler.ru>
Thu, 18 Sep 2008 15:27:53 +0000 (19:27 +0400)
commit2c879bedd2c9b835fb083a152e5f09d48b1dbca6
tree30dfc5cd240481ec6cd7320eb2de79e02017cbf8
parentbb2e8a89d2e4caf5345e565f4da5aeb6fc39655b
* Add memory pool support.
 - memory pools would be used in modules for allocating task specific data without freeing it separately
 - memory pools growth is implemented as multiplying by 2 its length (for avoiding multiply reallocs)
 - when memory pool is freed all data that was allocated from this pool is freed too
configure
main.h
mem_pool.c [new file with mode: 0644]
mem_pool.h [new file with mode: 0644]
worker.c