|
-
May 8th, 2000, 02:28 PM
#1
Have a problem with thread
- I have a object that runs inside a thread.
- I create an array of these objects in main().
- I use the join method of the main Thread to wait for the other threads to complete
- I have a while loop in the objects and a System.out.println when it comes out of the while loop.
-even after all the threads have completed thier job the main thread is waiting and no comming out.
Can anyone tell me the solution for this.Any suggestion are welcome.
Thanks in advance
Jamil
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|