摘要:
static const cmd_rec my_cmds[] = { AP_INIT_TAKE1("MyFirstDirective", my_first_cmd_func, my_ptr, OR_ALL, "This is My First Directive"), /* more directives as applicable */ { NULL }} ;[代码] 阅读全文
摘要:
apache mpm worker , 多核 cpu 下的进程/线程混合调度机制,是apache 在2.2版本之后引入的。官方介绍:This Multi-Processing Module (MPM) implements a hybrid multi-process multi-threaded server. By using threads to serve requests, it is able to serve a large number of requests with fewer system resources than a process-based server. Ho 阅读全文