You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/10/17 04:39:51 UTC
[GitHub] [incubator-brpc] xuqing-er commented on issue #1267: Timer Keeping的精度问题
xuqing-er commented on issue #1267:
URL: https://github.com/apache/incubator-brpc/issues/1267#issuecomment-710747593
如果唤醒之后Linux调度了另一个线程A运行,那么TimerThread就要等待线程A的时间片耗尽(假设A没有阻塞操作),根据《Linux内核设计与实现》中CFS算法说明,而每个线程默认最少的时间片为1ms
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org