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 -

CSS3 Transition to highlight new elements created in JQuery -