compact framework

J

jjs

I have a compact framework project with a thread and a blocking function in
the thread.
How can I abort this thread? Thread.Abort() is not possible in compact
framework
Thanks
Jack
 
W

W.G. Ryan eMVP

Yep - aborting threads is usually pretty bad news on the full framework -
definitely don't want to abort them here.

The lazy way is to set a static somewhere that the threaded routine
recognizes and causes it to stop processing internally - or you can use a
delegate and EndInvoke...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top