turt2live

Untitled

Jun 20th, 2013
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. public void run(){
  2.     while(true){
  3.         while(moreRequests){
  4.             // Process
  5.             // 5 connections failed, break this loop
  6.         }
  7.         if(failedConnections>=5){
  8.             // Sleep?
  9.         }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment