A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Threads and Synchronization
Real time example of Thread
Joined: Mar 05, 2007
Mar 06, 2007 00:25:00
Please tell me about real time use of Thread. Even you can give General Example. No need to go for program.
Marilyn de Queiroz
Joined: Jul 22, 2000
Mar 06, 2007 00:37:00
Hello, A.GOPI ARUMUGAVALLI, Welcome to JavaRanch. This is a forum for questions about JavaRanch. For questions about Threads, we have a forum named "Threads and Synchronization".
I will move this question to that forum for you.
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Jan 29, 2003
Mar 06, 2007 08:36:00
You've probably run into threads many times. When you do File/Print in Microsoft Word, the little printer image at the bottom shows it's working its way through the pages, but you can keep typing.
In Java Swing programs we often move anything that will take a while onto its own thread and let the user continue to work with the Swing thread.
Web servers often have a thread per request, so they can handle lots of users at once.
Any of those make sense?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
It is sorta covered in the
JavaRanch Style Guide
subject: Real time example of Thread
Primary Key - It can be signed - but why somebody would keep it signed?
Why send interrupt to a thread?
HF - SQL Inner and Outer Joins
real time example for inner class and static inner classes.
arraylist thread safe
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014