mmr_async_setevent()

Set an event for asynchronous requests.

Synopsis:

#include <mm/renderer/async.h>
 
int mmr_async_setevent(mmr_connection_t *connection,
                       const struct sigevent *sigevent)

Since:

BlackBerry 10.3.0

Arguments:

connection

A connection handle.

sigevent

A pointer to the event, or NULL to disarm.

Library:

libmmrndclient (For the qcc command, use the -l mrndclient option to link against this library)

Description:

This function sets an event to deliver whenever asynchronous results become available.

Note that spurious events are possible.

Returns:

0 on success, -1 on error (check errno).