[Previous]

[Contents]

[Next]


evt_delete_timer()

Delete an existent timer.

Synopsis:

#include <evt.h>
#include <lib_evt.h>
 
int evt_delete_timer( const evt_cnx_t *evtcnx, void *channel_handle, int value, 

    int timeout_msec );

Description:

TBD

The evt_create_timer function needs the following parameters:

evtcnx

Opaque structure pointer as returned by the initial call to evt_open.

channel_handle

Event Channel handle which was returned by evt_locate_channel.

value

Number provided with the signal information. This parameter has no special meaning by the driver and can be used by the two tasks, the signaler and the signaled.

timeout_msec

This timeout (specified in milli-seconds) is only used in one particular case: if the queue of pending signals of

Returns:

Return 0 is the operation succeeds, or -1 if an error occurred (errno is then set).

Example:

See this simple example.

Errors:

EINVAL

Invalid handle.

ETIME

The operation times out (meaning that the targetted event channel queue was full at the time of the call).

See also:

evt_open(), evt_locate_channel(), evt_fetch_event()


[Previous]

[Contents]

[Next]