Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (running) {
- var url : String?
- inURLResourceGCD.sync {
- var quit = doTimeoutStuff();
- if (quit) { running = false; return; }
- url = URLQueue.dequeue();
- }
- launchAsyncURLProcessing();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement