Hi,
I'm trying to make a program that launches a kind of threads, that are independent of the caller program.
I want to make a program that puts some threads running on the system, then the caller ends but still the threads keep running, and will eventually end/die by themselves, when they finish what they have to do ...
I tried using the Thread class, and it works perfectly, except that the caller can keep running as the threads are launched and running, but still it will only stop when all threads die ... and I want the main program to be some kind of launch-and-finish program ...
Any idea how to make it work? My final objective is to make a kind of TSR java program.
Thanks
I'm trying to make a program that launches a kind of threads, that are independent of the caller program.
I want to make a program that puts some threads running on the system, then the caller ends but still the threads keep running, and will eventually end/die by themselves, when they finish what they have to do ...
I tried using the Thread class, and it works perfectly, except that the caller can keep running as the threads are launched and running, but still it will only stop when all threads die ... and I want the main program to be some kind of launch-and-finish program ...
Any idea how to make it work? My final objective is to make a kind of TSR java program.
Thanks
