Home > DeveloperSection > Interviews > What is Thread?

Posted on    October-14-2015 11:47 PM

 iPhone iPhone  Ios  Objective C 
Ratings:
 1 Answer(s)
  381  View(s)
Rate this:

Tarun Kumar

Total Post:107

Points:535
Posted on    October-14-2015 11:47 PM

Thread is a class that is used in Objective-C methods to execute on its own thread. It is useful when we need to perform a lengthy task, but don’t want it to block the execution of the rest of the application.

We can use threads to avoid blocking the main thread of the application, which handles user interface and event-related actions. Threads can also be used to divide a large job into several smaller jobs, which can lead to performance increases on multi-core computers.


Don't want to miss updates? Please click the below button!

Follow MindStick