MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rw_cache_init

Function rw_cache_init

adapter/micro_thread/mt_cache.cpp:165–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void rw_cache_init(TRWCache* cache, TSkBuffMng* pool)
166{
167 TAILQ_INIT(&cache->list);
168 cache->len = 0;
169 cache->count = 0;
170 cache->pool = pool;
171}
172
173void rw_cache_destroy(TRWCache* cache)
174{

Callers 2

CSockLinkMethod · 0.85
cache_append_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected