I need to abort a thread. The thread always stays in the " RUNNING " state, if there was a way to make a comparison like this:
if (hilo.threadstate == hilo.threadstate.running)
{
hilo.abort();
}
If there is already a running thread that aborts it.