随笔分类 -  进程,线程,协程

摘要:linux 多进程 Unix/Linux操作系统提供了一个fork()系统调用 特点: fork()调用一次,返回两次 - 当前进程复制了一份(父进程),生成子进程 - 子进程返回0 父进程返回子进程的ID fork 只存在linux,windows无法运行 linux 运行: import os 阅读全文
posted @ 2021-01-22 17:43 鲁哒哒 阅读(48) 评论(0) 推荐(0)
摘要:Python https://python-parallel-programmning-cookbook.readthedocs.io/zh_CN/latest/index.html 阅读全文
posted @ 2021-01-22 16:00 鲁哒哒 阅读(57) 评论(0) 推荐(0)