Difficult-Rocket/libs/server.py
2021-01-23 19:55:35 +08:00

24 lines
469 B
Python

"""
writen by shenjackyuanjie
mail: 3695888@qq.com
"""
import libs
import threading
import multiprocessing as mp
class server(mp.Process):
def __init__(self, dev_list, dev_dic):
# father class __init__()
mp.Process.__init__(self)
# value
self.process_id = 'Server'
self.process_name = 'server process'
# share memery
self.dev_list = dev_list
self.dev_dic = dev_dic
def run(self):
pass