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

Method RecycleObjs

adapter/micro_thread/mt_net.cpp:1744–1754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1742}
1743
1744void CNetMgr::RecycleObjs(uint64_t now)
1745{
1746 uint32_t now_s = (uint32_t)(now / 1000);
1747
1748 recycle_sk_buffer(&_udp_pool, now_s);
1749 recycle_sk_buffer(&_tcp_pool, now_s);
1750
1751 _net_item_pool.RecycleItem(now);
1752 _sock_link_pool.RecycleItem(now);
1753 _dest_ip_pool.RecycleItem(now);
1754}

Callers 1

CheckExpiredMethod · 0.80

Calls 2

recycle_sk_bufferFunction · 0.85
RecycleItemMethod · 0.80

Tested by

no test coverage detected