Multi Thread Problem

Put your problem here if it does not fit any of the other categories.

Multi Thread Problem

Postby Skeniver » Sat May 01, 2010 6:44 am

Hey there

I need a little help with a multi-threading issue.

I have an app that fetches a few feeds and display the data on screen. Each feed gets fetched in its own thread and then when its done, they all call the same handler which then calls methods to update the display. But sometimes some of the data doesn't get shown properly.

I reckon it may be because the threads might finish at the same time and then the handler is being called at about the same time. Is this something that could cause the issue? If so, how do I prioritise the threads, so that they can all run at the same time (fetching the data quicker) and then call the handler in order?

Or have I completely missed the point. I am a noob when it comes to threading. So may be doing this all wrong...

Help please

Thanks in advance
Follow me on twitter ->
Apps & blog ->
User avatar
Senior Developer
Senior Developer
Posts: 106
Joined: Tue Feb 03, 2009 3:51 pm
Location: Canterbury, UK


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 7 guests