iphone - How a runloop actually works -


earlier month asked question 'what runloop?' after reading answers , did tries got work, still not understand completely. if runloop loop associated thread , don't spawn thread behind scenes how can of other code in thread(mainthread keep simple) execute without getting "blocked"/not run because somewhere make infinite loop?

that question number one. on second.

if got right after having worked this, not understood runloop loop attach 'flags' notify runloop when comes point flag is, "stops" , execute whatever handler attached @ point? afterwards keep running next in que.

runloop

so in case no events placed in que in connections, when comes events take whatever action associated tap 1 , execute before runs connections again , on. or far can understanding concept?

"sort of."

have read this particular documentation?

it goes considerable depth -- quite thorough depth -- architecture , operation of run loops.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -