A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
problem to block a method until a line complete.
Joined: Jul 14, 2005
Feb 26, 2006 15:21:00
Thank you for reading my post.
I have a function which in one line of the function i should wait until a another job complete.
write now i used a thread that i write the another job logic into it.
in current function i call
but it get out of the function after i call anotherJob.start()
meanwhile i want the method to block until anotherJob complete.
can some one give me a help with this?
Joined: Feb 07, 2005
Feb 26, 2006 17:58:00
look at the join method
rocket mass heater
subject: problem to block a method until a line complete.
Threads Notes for Exams
Restrict multiple calls of function
inconsistent ajax calls to servlet functions
AJAX : How can I set response type other than 200 ("OK") in Server Response
Stack over flow error not in try/finally block
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014