PCMPIServerAddressesDestroy — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PCMPIServerAddressesDestroy

Destroys a `PCMPIServerAddresses` context, unmapping its shared-memory addresses

## Synopsis

    PetscErrorCode PCMPIServerAddressesDestroy(PetscCtxRt ctx)

Logically Collective

## Input Parameter

- ctx - pointer to the `PCMPIServerAddresses` structure to free

## Note

Intended for use as a destructor callback registered via `PetscObjectContainerCompose()`; the argument type is a generic pointer so it satisfies that interface.

## See Also

`PCMPI`, `PetscShmgetMapAddresses()`, `PetscShmgetUnmapAddresses()`, `PetscObjectContainerCompose()`

## Level

developer

## Location

src/sys/utils/server.c

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages