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

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -