摘要: nodejs是一种单线程模型,但是,使用nodejs的child_process模块可以实现多进程任务。利用child_process可以创建子进程,实现子进程和主进程之间的通信。 nodejs v0.12.7版本child_process提供以下同步和异步的方式创建进程: 各函数及参数文档可见 文 阅读全文
posted @ 2016-09-28 11:28 imKirin 阅读(7719) 评论(0) 推荐(0) 编辑