db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Ventura <st.ne...@gmail.com>
Subject Re: Shutdown DB does not work / threadding issue
Date Tue, 21 Feb 2012 18:34:53 GMT
Try calling .join() on the thread object you created to run your Runnable.
This will make the current thread wait until the child has finished. I
forgot the reason why is solves the problem, it must be in the Java
concurrency tutorials somewhere.
On Feb 21, 2012 4:26 PM, "Karl Weber" <karl.weber99@googlemail.com> wrote:

View raw message