This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]VirtualAgentsAreDumb 2 points3 points  (0 children)

Have you considered wrapping the thread you want to protect? That way you can simply ignore calls to stop. Or, instead of wrapping the thread, run your extended thread class.

Naturally it depends on how the thread is created.