Closed GoogleCodeExporter closed 9 years ago
0.9.5的版本。 SP_IocpEventHelper :: timeoutNext 有以下代码: DWORD ret = ( first->tv_sec - curr.tv_sec ) * 1000 + ( first->tv_usec - curr.tv_usec ) / 1000; if( ret < 0 ) ret = 0; return ret; ret 永远都会是>=0 的。
Original issue reported on code.google.com by xChenJun on 17 Jul 2010 at 4:04
xChenJun
这个是计算 GQCS 要使用的 timeout 参数。 所有的 IO 时间都被放在一个 miniheap 中,每次计算 miniheap 的第一个元素的过期时间,就是 GQCS 要的 timeout 参数。
Original comment by stephen....@gmail.com on 19 Mar 2011 at 4:01
stephen....@gmail.com
Original issue reported on code.google.com by
xChenJun
on 17 Jul 2010 at 4:04