chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sutter, Peter" <>
Subject Calling progress/completion block on main thread
Date Wed, 28 Jan 2015 12:02:11 GMT
Hi Gavin,

I just looked through your changes regarding switch from NSURLConnection
to NSURLSession.
I saw that you are calling completion blocks or progress blocks now on the
main thread. Was there a special reason for it? Because we call the CMIS
library from a background thread and also expect the completion and
progress blocks to be executed on the same thread.

Best regards,

View raw message