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...
--
W.G. Ryan MVP (Windows Embedded)
TiBA Solutions
www.tibasolutions.com |
www.devbuzz.com |
www.knowdotnet.com
"jjs" <al******@normandnet.fr> wrote in message
news:cr**********@news.tiscali.fr...
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