时间:2021-07-01 10:21:17 帮助过:3人阅读
(buf_page_t *) buf_block_t *p
os_thread_create(io_handler_thread, n + i, thread_ids + i)
其中io_handler_thread是回调函数,主要是为每个后台线程分配任务for (i = 0;; i++) {
fil_aio_wait(segment);
fil_io() -> os_aio()->
os_aio_simulated_wake_handler_threads()->os_aio_simulated_wake_handler_thread->
os_event_set()->pthread_cond_broadcast()
InnoDB主要数据结构及调用流程
标签: