File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes blocked threads Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "blocked threads" Watch "blocked threads" New topic
Author

blocked threads

Syamsul Hussin
Ranch Hand

Joined: Feb 09, 2003
Posts: 59
Hi lets say that i have a two thread classes. And from a third class I call both thread classes start method.

And in obj1 class, the code will come to a point where it waits an input from the use.
The question is, while obj1 is waiting for the input from users, will obj2 continue to execute?
thanks.


----------------------------------<br />SCJP 1.4
Leandro Oliveira
Ranch Hand

Joined: Nov 07, 2002
Posts: 298
surely!!! unless anything stops it, like waiting for the user input, just what happened to obj1.
 
 
subject: blocked threads
 
Threads others viewed
Deadlock / Object Lock ???
Inner classes & Static blocks
Question ID :988384705515 JQ+
Reg. Some Thread basics
Basic thread doubt
developer file tools