Skip to content

Conversation

tailsu
Copy link
Contributor

@tailsu tailsu commented Jun 2, 2015

When first introduced, AsyncTasks were executed serially on a single background thread. Starting with DONUT, this was changed to a pool of threads allowing multiple tasks to operate in parallel. Starting with HONEYCOMB, tasks are executed on a single thread to avoid common application errors caused by parallel execution.

If you truly want parallel execution, you can invoke executeOnExecutor(java.util.concurrent.Executor, Object[]) with THREAD_POOL_EXECUTOR.

@ns-bot
Copy link

ns-bot commented Jun 2, 2015

Can one of the admins verify this patch?

slavchev pushed a commit that referenced this pull request Jun 3, 2015
fix: HTTP requests are executed serially instead of in parallel
@slavchev slavchev merged commit aa7c1c0 into master Jun 3, 2015
@slavchev slavchev deleted the sd/fix-http-serial-bug branch April 19, 2016 13:20
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

Successfully merging this pull request may close these issues.

3 participants