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 -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -