码迷,mamicode.com
首页 > 其他好文 > 详细

Inside the Gigablast

时间:2015-10-08 13:00:42      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:

keyword: signal-based

The heart of the Gigablast process is the I/O control loop.

If queue is full, kernel will deliver SIGIO to gp process.

g_udpServer

Loop.cpp

 

   registerCallback()

   sleep callbacks ( every X milliseconds)

   SIGCHLD - a thread exits.

   Callback Priority

   doPoll() just calls low priority callbacks

   priority method is similar to the low latency patch in the Linux kernel

Threads.cpp

   clone()

 

Layers - build, search results, 

Fighting Spam

File List

Inside the Gigablast

标签:

原文地址:http://www.cnblogs.com/anyboo/p/4860560.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!