Advertisement
Guest User

Untitled

a guest
May 30th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. while (running) {
  2. var url : String?
  3.  
  4. inURLResourceGCD.sync {
  5. var quit = doTimeoutStuff();
  6.  
  7. if (quit) { running = false; return; }
  8. url = URLQueue.dequeue();
  9. }
  10.  
  11. launchAsyncURLProcessing();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement