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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -