<< Previous | Next >>

phwm

word phwm( Pool_t * p );

Description

Return the largest number of elements ever simultaneously allocated from the given pool, i.e., the pool high water mark.

You can use this function to help size a pool, since it may be difficult to determine the optimum number of elements without running a trial program.

Parameters

p
Pool handle structure, as previously passed to pool_init() or pool_xinit().

Return value

Maximum number of elements ever allocated.

Library

POOL.LIB

See Also

pool_init, pool_xinit, pavail


Dynamic C Functions << Previous | Next >> rabbit.com