Created
June 15, 2021 04:03
-
-
Save noppefoxwolf/77f49285ceb8e2f685c9afea532e5bba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewController: UIViewController { | |
static let dispatchQueue = DispatchQueue(label: "test") | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
ViewController.dispatchQueue.async { | |
Thread.current.name = "test thread" | |
print("done") | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment