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

Method RemoveFromList

adapter/micro_thread/mt_net.cpp:689–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689void CSockLink::RemoveFromList(int32_t type, CNetHandler* item)
690{
691 TNetItemList* list = this->GetItemList(type);
692 if (NULL == list)
693 {
694 MTLOG_ERROR("unknown list type: %d", type);
695 return;
696 }
697
698 TAILQ_REMOVE(list, item, _link_entry);
699}
700
701void CSockLink::NotifyThread(CNetHandler* item, int32_t result)
702{

Callers 1

DetachConnMethod · 0.80

Calls 1

GetItemListMethod · 0.95

Tested by

no test coverage detected