Replaced blocking Sleep with unblocking Task #1

merged 1 commit into from Sep 14, 2013


None yet
2 participants

semihokur commented Sep 8, 2013

I am a PhD student in the CS department at the University of Illinois. I'm currently doing research on asynchronous programming in phone applications. I developed a tool that automatically improves async/await usages by doing transformations.

The tool found some opportunities in your application. You were using blocking Sleep method in an async method, causing freezing the UI. Instead, you can use nonblocking Task.Delay for the same purpose. The tool changed Sleep method with Delay method.

Are you interested in merging this pull request? If not, please let me know why.

Thanks for your time,

lanceseidman added a commit that referenced this pull request Sep 14, 2013

Merge pull request #1 from semihokur/master
Replaced blocking Sleep with unblocking Task

@lanceseidman lanceseidman merged commit 44f682c into lanceseidman:master Sep 14, 2013


This comment has been minimized.

Show comment
Hide comment

lanceseidman Sep 14, 2013


Thank you, I have changed it.


lanceseidman commented Sep 14, 2013

Thank you, I have changed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment