Delphi TerminateThread equivalent for Android

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2013-11-02T09:19:55Z Indexed on 2013/11/05 21:54 UTC
Read the original article Hit count: 411

I have been discussing a problem on the Indy forums related to a thread that is not terminating correctly under Android. They have suggested that there may be an underlying problem with TThread for ARC.

Because this problem is holding up the release of a product a work around would be to simply forcibly terminate the thread. I know this is not nice but in this case I cant think of a side effect from doing so. Its wrong but its better than a deadlocked app.

Is there a way to forcibly terminate a thread under Android like TerminateThread does under windows?

Martin

© Stack Overflow or respective owner

Related posts about android

Related posts about multithreading