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

Method FreeItem

adapter/micro_thread/mt_net.h:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 };
85
86 void FreeItem(Type* obj) {
87 //obj->Reset();
88 TAILQ_INSERT_TAIL(&_free_list, obj, _link_entry);
89 obj->_release_time = mt_time_ms();
90 _count++;
91 };
92
93 void RecycleItem(uint64_t now) {
94 Type* item = NULL;

Callers 3

FreeNetItemMethod · 0.80
FreeSockLinkMethod · 0.80
FreeDestLinkMethod · 0.80

Calls 1

mt_time_msFunction · 0.85

Tested by

no test coverage detected