This is an circel storage of a linked-list connected with a "lock" at MkCacheS … More...
#include <LibMkKernel_mk.h>
Data Fields | |
MK_RT | runtime |
link to the runtime | |
MK_STRB | name [MkCacheS_name_size] |
name of the cache | |
struct MkCacheItemS * | used |
used cache items | |
struct MkCacheItemS * | free_first |
free first cache item | |
struct MkCacheItemS * | free_last |
free last cache item | |
MkCacheCF | createF |
function to create 'data' | |
MkCacheDF | deleteF |
function to delete 'data' | |
MK_PTR | createD |
additional create data item | |
MK_NUM | num |
MIN num items in cache. | |
struct MkCacheItemS | MkCacheItemS_A [MkCacheS_MkCacheItemS_size] |
MK_NUM | MkCacheItemS_N |
This is an circel storage of a linked-list connected with a "lock" at MkCacheS …
The number of items between free_first and free_last is MIN num, so that between a reuse of an old-item is always min items used bevor.
Definition at line 2168 of file LibMkKernel_mk.h.
MK_PTR MkCacheS::createD |
additional create data item
Definition at line 2177 of file LibMkKernel_mk.h.
MkCacheCF MkCacheS::createF |
function to create 'data'
Definition at line 2175 of file LibMkKernel_mk.h.
MkCacheDF MkCacheS::deleteF |
function to delete 'data'
Definition at line 2176 of file LibMkKernel_mk.h.
struct MkCacheItemS* MkCacheS::free_first |
free first cache item
Definition at line 2173 of file LibMkKernel_mk.h.
struct MkCacheItemS* MkCacheS::free_last |
free last cache item
Definition at line 2174 of file LibMkKernel_mk.h.
struct MkCacheItemS MkCacheS::MkCacheItemS_A[MkCacheS_MkCacheItemS_size] |
Definition at line 2181 of file LibMkKernel_mk.h.
MK_NUM MkCacheS::MkCacheItemS_N |
Definition at line 2182 of file LibMkKernel_mk.h.
MK_STRB MkCacheS::name[MkCacheS_name_size] |
name of the cache
Definition at line 2171 of file LibMkKernel_mk.h.
MK_NUM MkCacheS::num |
MIN num items in cache.
Definition at line 2178 of file LibMkKernel_mk.h.
MK_RT MkCacheS::runtime |
link to the runtime
Definition at line 2169 of file LibMkKernel_mk.h.
struct MkCacheItemS* MkCacheS::used |
used cache items
Definition at line 2172 of file LibMkKernel_mk.h.