A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Threads and Synchronization
multi threading - concurrently executing two threads
Joined: Apr 08, 2004
Feb 16, 2010 06:48:15
I want to execute two threads concurrently using multi-threading. Can i just use synchronized (or) synchronized with wait() - when the first thread executes, second thread should wait until first thread finishes its execution?
Joined: Mar 22, 2005
Feb 16, 2010 06:52:49
What is the point of having two threads if one of them will have to wait until the other is done?
Ping & DNS, my free Android app for network diagnostics
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: multi threading - concurrently executing two threads
Stateless Session Bean -> MDB (Thread)
what's the use of synchronizing the service in servlet?
Java Servlets and Threads - Am I in trouble ?
About Synchronization in Threads
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013