Skip to content

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

@LiliWeiSE

Description

@LiliWeiSE

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions