This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Expand the capacity of the device manager database
#include <resmgr.h> int _resmgr_handle_grow ( unsigned min );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The _resmgr_handle_grow() function pre-grows or allocates the resource manager database table entries to support a given number of connections to improve runtime performance by reducing the number of dynamic memory allocations.
The function pre-allocates database space for min requests.
The number of free entries in the table, or -1 if the resource manager table can't be locked.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |