Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is multitherading

Answer Posted / rahul

Feb 01, 1997 By Martin McCarthy
inSysAdmin
With the 2.0 kernel, most Linux users now have the
capability of using multi-threaded processes—well, what
does that mean?
Perhaps one of the reasons you use Linux is because it is a
multi-tasking operating system. In which case you are
probably well aware of the utility of being able to do more
than one thing at a time—perhaps compiling the utility
which will bring you fame and fortune whilst editing a
letter of resignation to your boss. So you might recognise
the utility of an individual process that can do more than
one thing at once.

When might this be a good idea? One application for multi-
threading is a program which relies on a large number of
very similar and independent mathematical operations—the
oft-quoted example of this is matrix multiplication. We
look at a simple example of a multi-threaded matrix
multiplier later in this article.

Another type of application which can benefit from multi-
threading is a server application. Whenever a client
attempts to connect to the server, a new thread can be
created to look after that client whilst the “watcher”
thread continues to wait for more clients to connect.

“But wait!” I hear you cry. “Lots of server applications
already work like that, but they simply fork another
process rather than starting another thread.”

“You're right...” I reply.

“Don't interrupt,” you continue. “This sounds like another
way of doing the same thing, but for no good reason other
than to say it's a `multi-threaded application' and so you
can bump up the price to those who like to be blinded by
science.”

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does method mean?

968


What is thread start?

916


When arithmeticexception is thrown?

968


What is parsing and its types?

1027


Can java list be null?

947


What are inner classes or non static nested classes in java?

1121


What is difference between arraylist and list in java?

1025


What does bitwise or mean?

1034


What is a method signature java?

992


What's the difference between an abstract class and interface in java?

978


What is the difference between static (class) method and instance method?

1030


What is the difference between abstract class and interface1? What is an interface?

999


Which collection is sorted in java?

982


Can we force the garbage collection to run?

898


Explain the scope or life time of class variables or static variables?

929