| 729 | } |
| 730 | |
| 731 | void MtFrame::CheckExpired() |
| 732 | { |
| 733 | static utime64_t check_time = 0; |
| 734 | |
| 735 | if (_timer != NULL) |
| 736 | { |
| 737 | _timer->check_expired(); |
| 738 | } |
| 739 | |
| 740 | utime64_t now = GetLastClock(); |
| 741 | |
| 742 | if ((now - check_time) > 1000) |
| 743 | { |
| 744 | CNetMgr::Instance()->RecycleObjs(now); |
| 745 | check_time = now; |
| 746 | } |
| 747 | } |
| 748 | |
| 749 | void MtFrame::WakeupTimeout() |
| 750 | { |
no test coverage detected