Hello there,
Current I am using interruption -1 to end current thread, but I am searching for an option of ending all threads for active process. Is this already possible?
If not, is there a function to return a list of all threads for current process?
exitprocess or getactivethreads
Unfortunately, last time I checked, the kernel did not know the difference between a thread and a process yet.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Hi there,
Thanks for the reply. Do the processes have a "parent" property? Which would make it possible to iterate through the processes and end all with parent x.
If all else fails, I guess I will need to write some kind of thread management utility with a linkedlist of thread/process ids.
Thanks for the reply. Do the processes have a "parent" property? Which would make it possible to iterate through the processes and end all with parent x.
If all else fails, I guess I will need to write some kind of thread management utility with a linkedlist of thread/process ids.
Who is online
Users browsing this forum: No registered users and 40 guests