examples1 간단한 파이썬 멀티쓰레딩 예제들 간단한 파이썬 멀티쓰레딩 예제들 예제 #01 1 2 3 4 5 6 7 import threading def helloworld(): print("Hello World!") t1 = threading.Thread(target=helloworld) t1.start() cs 예제 #02 1 2 3 4 5 6 7 8 9 10 11 12 13 # import threading def function1(): for x in range(10000): print("1") def function2(): for x in range(10000): print("2") function1(); function2(); cs (threading을 적용하지 않았을 때) 예제 #03 1 2 3 4 5 6 7 8 9 10 11 12 13.. 2022. 3. 25. 이전 1 다음