Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

How to Cancel a Thread

$
0
0
Because of an error in a script, I just launched a thread that I do not want (it's going to do something tomorrow rather than today). This made me realize that sometimes one might want to be able to kill a thread. Is there any way to do that?

My first thought was to have the thread report back its PID so that it could be killed, but I don't see any way to do that. Any other suggestions?

For this particular application, I probably could use DATEMONITOR, in which case the command could be...

Read more

Viewing all articles
Browse latest Browse all 1689

Trending Articles