theKernel 10.0
|
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 2325 of file LibMkKernel_mk.h.
MK_PTR MkCacheS::createD |
additional create data item
Definition at line 2334 of file LibMkKernel_mk.h.
MkCacheCF MkCacheS::createF |
function to create 'data'
Definition at line 2332 of file LibMkKernel_mk.h.
MkCacheDF MkCacheS::deleteF |
function to delete 'data'
Definition at line 2333 of file LibMkKernel_mk.h.
struct MkCacheItemS* MkCacheS::free_first |
free first cache item
Definition at line 2330 of file LibMkKernel_mk.h.
struct MkCacheItemS* MkCacheS::free_last |
free last cache item
Definition at line 2331 of file LibMkKernel_mk.h.
struct MkCacheItemS MkCacheS::MkCacheItemS_A[MkCacheS_MkCacheItemS_size] |
Definition at line 2338 of file LibMkKernel_mk.h.
MK_NUM MkCacheS::MkCacheItemS_N |
Definition at line 2339 of file LibMkKernel_mk.h.
MK_STRB MkCacheS::name[MkCacheS_name_size] |
name of the cache
Definition at line 2328 of file LibMkKernel_mk.h.
MK_NUM MkCacheS::num |
MIN num items in cache.
Definition at line 2335 of file LibMkKernel_mk.h.
MK_RT MkCacheS::runtime |
link to the runtime
Definition at line 2326 of file LibMkKernel_mk.h.
struct MkCacheItemS* MkCacheS::used |
used cache items
Definition at line 2329 of file LibMkKernel_mk.h.