Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsyncTask.execute() is not really multi-threaded after Honeycomb #73

Open
LiliWeiSE opened this issue Oct 19, 2017 · 1 comment
Open

Comments

@LiliWeiSE
Copy link

LiliWeiSE commented Oct 19, 2017

Another thing, I noticed AsyncTask.execute() is used in CommentsListActivity. For your information, the document specified that since honeycomb or API 11, the tasks will be executed on a single thread. Since there could be multiple tasks registered at the same time (at least two in MyLoginTask#onPostExecute), so using executeOnExecutor() may speed up the tasks and avoid potential blocking.

@zagaberoo
Copy link
Owner

This is useful info; thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants