Destroys an ldata pool created by the ldata_create kernel service.
#include <sys/ldata.h>
void ldata_destroy (ldatap)
ldata_t ldatap;
The ldata_destroy kernel service destroys an ldata pool previously created by an ldata_create call. This routine assumes that all elements allocated from the pool have been freed back to the pool and there are no longer any active elements in the pool.
The ldata_destroy call unpins and frees all of the storage associated with the handle.
Item | Description |
---|---|
ldatap | Specifies the handle of the ldata pool to be destroyed. |
The ldata_destroy kernel service can be called from the process environment only.
None.
The ldata_destroy kernel service is part of the Base Operating System (BOS) Runtime.