Inherits Continuation.
Public Member Functions | |
InactivityCop (ProxyMutex *m) | |
int | check_inactivity (int event, Event *e) |
Definition at line 41 of file UnixNet.cc.
InactivityCop::InactivityCop | ( | ProxyMutex * | m | ) | [inline] |
Definition at line 43 of file UnixNet.cc.
References check_inactivity(), Debug, REC_ReadConfigInteger, and SET_HANDLER.
int InactivityCop::check_inactivity | ( | int | event, | |
Event * | e | |||
) | [inline] |
Definition at line 48 of file UnixNet.cc.
References close_UnixNetVConnection(), Debug, Event::ethread, EVENT_IMMEDIATE, forl_LL, get_NetHandler(), HRTIME_SECONDS, inactivity_cop_lock_acquire_failure_stat, ink_get_hrtime(), ink_hrtime_to_sec(), MUTEX_TRY_LOCK, NET_INCREMENT_DYN_STAT, and this_ethread().
Referenced by InactivityCop().