comparison xml/en/docs/dev/development_guide.xml @ 2081:f29bd40e9a62

Development guide: documented ngx_create_pool() size requirements.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 05 Dec 2017 16:54:22 +0300
parents 05f5bfdaffa3
children c07cd947402f
comparison
equal deleted inserted replaced
2080:8f885a69374d 2081:f29bd40e9a62
1504 1504
1505 <listitem> 1505 <listitem>
1506 <literal>ngx_create_pool(size, log)</literal> — Create a pool with specified 1506 <literal>ngx_create_pool(size, log)</literal> — Create a pool with specified
1507 block size. 1507 block size.
1508 The pool object returned is allocated in the pool as well. 1508 The pool object returned is allocated in the pool as well.
1509 The <literal>size</literal>
1510 should be at least <literal>NGX_MIN_POOL_SIZE</literal>
1511 and a multiple of <literal>NGX_POOL_ALIGNMENT</literal>.
1509 </listitem> 1512 </listitem>
1510 1513
1511 <listitem> 1514 <listitem>
1512 <literal>ngx_destroy_pool(pool)</literal> — Free all pool memory, including 1515 <literal>ngx_destroy_pool(pool)</literal> — Free all pool memory, including
1513 the pool object itself. 1516 the pool object itself.