[Previous] [Contents] [Next]

_resmgr_handle_grow()

@@@none

Synopsis:

#include <resmgr.h>

int _resmgr_handle_grow ( unsigned min );

Library:

libc

Description:

The _resmgr_handle_grow() function pre-grows or allocates the resource manager database table entries to support (@@@ a given number of i connections. @@@ what? what's i) to improve run-time performance. (It reduces the number of dynamic memory allocations.) The function pre-allocates database space for min requests.

Returns:

-1
Failure; the resource manager table can't be locked.
>=0
Success; the number of free entries in the table.

Classification:

@@@NONE

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:


[Previous] [Contents] [Next]