Mysql源码学习笔记——偷窥线程(6)
来源:未知 责任编辑:责任编辑 发表时间:2014-01-20 07:54 点击:次
/*************************************************************************
The master thread controlling the server. */
服务器控制线程,应该是具体进行作业的线程。
Svr_monitor_thread:
/*************************************************************************
A thread prints the info output by various InnoDB monitors. */
监控线程,负责打印信息。
淡然飘过吧,不去细究了,我们只关心pthread_create创建的线程。根据调试,发现多了几个线程同名的线程_threadstart,如下所示:
调试时看堆栈可以知道这三个线程的创建者和作用,如下所示
创建者 |
处理函数 |
create_shutdown_thread |
handle_shutdown |
start_handle_manager |
handle_manager |
handle_connections_methods |
handle_connections_sockets |
相关新闻>>
- 发表评论
-
- 最新评论 进入详细评论页>>