multiprocess1 [Python] 멀티 프로세스,멀티 쓰레드 예제코드 import struct import time import threading import pycurl import re import os from StringIO import StringIO from multiprocessing import Process,current_process,Pool,freeze_support up= lambda x:struct.unpack("L",x) #Little Endian class KMS(threading.Thread): def __init__(self): threading.Thread.__init__(self) def run(self): print "Call Thread" def mp(number): #proc_name = current_process().name re.. 2018. 7. 16. 이전 1 다음 반응형