|
Remove named resource associated with a shared memory segment, preventing attachments to the resource, but not destroying it. - Parameters:
-
| filename | The filename associated with shared-memory segment which needs to be removed |
| pool | The pool used for file operations |
- Remarks:
- This function is only supported on platforms which support name-based shared memory segments, and will return APR_ENOTIMPL on platforms without such support. Removing the file while the shm is in use is not entirely portable, caller may use this to enhance obscurity of the resource, but be prepared for the the call to fail, and for concurrent attempts to create a resource of the same name to also fail. The pool cleanup of apr_shm_create (apr_shm_destroy) also removes the named resource.
|