Home › Forums › Development › how to keep track of ThreadUtil.bgRun thread and stop them eventually? › Reply To: how to keep track of ThreadUtil.bgRun thread and stop them eventually?

#66364

oh, thank you!it works indeed.

I was wondering if there was a way to call ThreadUtil.shutdown(i), as when ThreadUtil.shutdown(), the program iterates through 2 lists of processes (instanceProcessors and bgInstanceProcessors), which meant to me that somehow, we could get the “id” of  any new thread created, and thus kill it later…

fred