ios - sleep block all threads not just one NSthreads -


i'm calling sleep() on nsthread, ( subclassed nsthread , put run-loop in it) thing sleep call blocking threads not nsthread ...

what's best way around problem?

using nsthread should use class method sleepfortimeinterval:. check here documentation.


Comments