what is thread
1 posts in topic
Flat View  Flat View

Posted By:   murthy_ananthapalli
Posted On:   Wednesday, November 30, 2005 02:10 AM

what is the difference between thread and multithread and how do we write a program in multi threading

Re: what is thread

Posted By:   Jani_Kaarela  
Posted On:   Wednesday, November 30, 2005 02:24 AM

A thread — sometimes called an execution context or a lightweight process — is a single sequential flow of control within a program.
(Source: The Java Tutorial, Essential Java Classes trail, lesson Threads: Doing Two Or More Tasks At Once)

Thus, a multi-threaded program executes several tasks in parallel. See the linked Java Tutorial section. And yes, you should have googled and/or searched first...

About | Sitemap | Contact