I wrote a program that has to process any files that are put in a specified folder.
I would like to keep track of those threads, though, preferably via some sort of process id or something. is there any way that I can get a list of the threads that are currently alive?
I dont assign the threads names, because there can be anything from 0 to 20 threads at a time.
Help would be very much appreciated.
I can also supply the code that I wrote, if needed.