Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you move IO onto another thread, or use asynchronous/non-blocking methods? Blocking IO should never be done on your UI thread.


That's what I'd like to do, but there are non-obvious cases that I could have missed, e.g. seemingly innocent system calls, observers/event callbacks.

Also, when you make I/O truly async, you need to ensure UI behaves sanely while slow I/O happens in the background.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: