Is it not a good practice to have child threads of the main thread to execute operations while the main thread is executing its operations?
I created a child thread of the main thread and my system goes slow as if the memory available is very less.
I am monitoring the value of a public Boolean variable in the run method of the child thread.
thanks
main thread's child thread Akshay March 23, 2012 at 11:12 AM
Is it not a good practice to have child threads of the main thread to execute operations while the main thread is executing its operations? I created a child thread of the main thread and my system goes slow as if the memory available is very less. I am monitoring the value of a public Boolean variable in the run method of the child thread. thanks
i want the solution for itrajesh kumar swain April 3, 2012 at 11:31 AM
how to out the current running thread in a java program???
Post your Comment