Skip to main content

Name

ec_cache_destroy — Purge all entries from the cache and free all memory allocated to it

Synopsis

#include "ec_cache.h"

| void **ec_cache_destroy** ( | cache); |   |

ec_cache_t * <var class="pdparam">cache</var>;

Description

Purge all entries from the cache and free all memory allocated to it.

Parameters

cache

The address of the cache. The following typedef applies to the ec_cache_t data type:

typedef struct ec_cache_head ec_cache_t;

Return Values

This function returns void.

Threading

While it is legal to call this function in any thread, it should only be called in the Scheduler thread.

See Also

Was this page helpful?