- 如何创建多个进程?
- 进程之间如何实现通信?
使用队列实现进程之间的数据共享!!!
# -*- coding: utf-8 -*-
"""
__author__ = 孤寒者
"""
from multiprocessing import Queue,Process
import time,random
list1 = ["Java","Python","C","Go"
# -*- coding: utf-8 -*-
"""
__author__ = 孤寒者
"""
from multiprocessing import Queue,Process
import time,random
list1 = ["Java","Python","C","Go"