Alex Rivera | Logout

KVO background threads

Asked 2012-02-06T01:31:59.543
10

If I set up kvo observers on my main thread, but then on a background thread i change the value of the property being observed, does my main thread get interrupted immediately, no matter where it was?

Thanks!

Edit
Report

1 Answer

2

No your main thread will not get interrupted, just like the case of the question you posted 2 minutes ago.

The only way a thread will really be interrupted, is when the program would receive a signal. This generally only happens if things go really wrong. (SIGSEGV, SIGABRT, etc)

answered 2012-02-06T01:36:02.860

Your Answer