728x90 반응형 thread1 [Swift] 병렬 프로그래밍(Concurrency Programming) swift 병렬 프로그래밍(Concurrency Programming) Thread operationQueue GCD(Grand Centeral Dispatch) 1. Thread 쓰레드 선언은 다음과 같다. let thread_one = Thread(target: self, selector: #selector(ViewController.runLoop_one), object: nil) thread_one.start() let thread_two = Thread(target: self, selector: #selector(ViewController.runLoop_two), object: nil) thread_two.start() let thread_three = Thread(target: self, sel.. 2022. 10. 27. 이전 1 다음 728x90 반응형