PtConnectionResizeEventBuffer()

Resize the buffer used to store notifications

Synopsis:

int PtConnectionResizeEventBuffer(
        PtConnectionServer_t *connection,
        unsigned length );

Library:

ph

Description:

This function allocates or reallocates a buffer that notifications are stored in until the client responds to a pulse.

Returns:

0
Success.
-1
An error occurred; errno is set.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtConnectionAddEventHandlers(), PtConnectionNotify()

Connections in the Interprocess Communication chapter of the Photon Programmer's Guide