Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7564415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:53:56+00:00 2026-05-30T13:53:56+00:00

I am simultaneously downloading several images in separate threads. I need to set these

  • 0

I am simultaneously downloading several images in separate threads. I need to set these images to adapter. I need to finish these threads in the order in which they were started, because I am using callbacks to inform adapter and…

How can I do this(finish threads in the order in which they were started)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:53:57+00:00Added an answer on May 30, 2026 at 1:53 pm

    Finishing your threads in a particular order is counter to the idea of multi-threaded programming… you don’t want to start Thread 1, 2, and 3, and then dictate when they finish, because they may have tasks that take completely differing times to complete.

    For example, if you are downloading two different things on two different threads, what if Thread 1 is downloading a 2 TB file and Thread 2 is downloading a 2 KB file? Obviously Thread 2 will complete long before Thread 1, and you don’t want your process to have to block waiting for Thread 1 to complete… I would suggest re-thinking what you are trying to accomplish and re-design accordingly to avoid this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to run two separate processes simultaneously. One is just listening on port
I need to run two threads simultaneously, but I am not getting how to
My app will have several alarms set simultaneously. Unfortunately, each alarm is being set
I need a few threads working simultaneously with URL requests in a VB.NET 2010
I want to run some threads simultaneously which executes a given runnable task at
I need remove several UIViews form superview simultaneously when use this method : [view1
I need to perform update/insert simultaneously changing structure of incoming data. Think about Shops
In my project I need to use simultaneously Castle.Windsor and Moq dlls. Windsor requires
For my application I need to represent simultaneously (on the same graph) two relations:
I will have 3 jobs running simultaneously in Hadoop, they're unrelated. The input to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.