Zen API | Contents | Reference | Previous | Up | Next

zSyncQueue_SetDropHandler
zSyncQueue functions
C

    zStatus zSyncQueue_SetDropHandler(zSyncQueue queue, zSyncQueueDropCallback onDrop, zHandle context);

Parameters

Parameters | Description
zSyncQueueDropCallback onDrop | Callback function, or zNULL to de-register for callback notification.
zHandle context | User context handle supplied to the callback function.
receiver | zSyncQueue object.

Description

Registers or unregisters a callback function that is notified when queue items are dropped.

Remarks

The drop handler will be called when a queue item is added and capacity is exhausted. The drop handler can take any necessary actions, such as freeing the item.

File

zSyncQueue.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.
Contents | Reference