title: Sleep or Pause NSThread
body: <p>I am creating a new Thread which runs one of my method after every certain period of time. </p>
  
  <p>Now what i am doing is as follows:</p>
  
  <pre><code>NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(setUpTimerThread) object:nil];
   [thread start];
  </code></pre>
  
  <p>the above method calls my setUpTimerThraed method, and this method makes an NSTimer and calls a specific method i.e syncData after every 1 minute. Now what i want is my sync Data method is sending some files to the FTP folder. and when ever it send one file to the FTP I want it my "thread" to be sleep for a while.</p>
  
  <p>i have used </p>
  
  <pre><code>[NSThread sleepForTimeInterval:3.0];
  </code></pre>
  
  <p>But this code blocks my application main thread. Is there any way i can only sleep my "thread" thread for a while so that it wont stop my application responding for 3 seconds and does not sleep my main thread. 
  Hope u get what i am asking guys. PLease help?</p>