| 991 | } |
| 992 | |
| 993 | int |
| 994 | UnixNetVConnection::startEvent(int /* event ATS_UNUSED */, Event *e) |
| 995 | { |
| 996 | MUTEX_TRY_LOCK(lock, get_NetHandler(e->ethread)->mutex, e->ethread); |
| 997 | if (!lock.is_locked()) { |
| 998 | e->schedule_in(HRTIME_MSECONDS(net_retry_delay)); |
| 999 | return EVENT_CONT; |
| 1000 | } |
| 1001 | if (!action_.cancelled) { |
| 1002 | connectUp(e->ethread, NO_FD); |
| 1003 | } else { |
| 1004 | get_NetHandler(e->ethread)->free_netevent(this); |
| 1005 | } |
| 1006 | return EVENT_DONE; |
| 1007 | } |
| 1008 | |
| 1009 | int |
| 1010 | UnixNetVConnection::acceptEvent(int /* event ATS_UNUSED */, Event *e) |
nothing calls this directly
no test coverage detected