Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ruhi

macrumors member
Original poster
Jun 17, 2009
70
0
Hello,

I am trying to run a long processing method in a separate thread.

The method is startProcess. In this method i have called another method in separate class with this actual processing code.

But without completing the whole processing the thread exits.

Please let me know the correct way to start the thread so that it ends only after completing the whole processing.

Thanks,
Ruhi
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.