PC Review


Reply
Thread Tools Rate Thread

compact framework

 
 
jjs
Guest
Posts: n/a
 
      6th Jan 2005
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


 
Reply With Quote
 
 
 
 
W.G. Ryan eMVP
Guest
Posts: n/a
 
      7th Jan 2005
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" <alvend~(E-Mail Removed)> wrote in message
news:crkd97$sic$(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any suggestion for directory layout of project support both Full.NET Framework and Compact Framework? ping235 Microsoft C# .NET 0 24th May 2007 03:22 AM
Any suggestion for directory layout of project support both Full.NET Framework and Compact Framework? ping235 Microsoft Dot NET Framework 2 22nd May 2007 02:35 AM
.Net compact Framework throwing formatException which 'normal' framework doesn't John Haxton Microsoft Dot NET Framework 0 20th Apr 2004 02:47 PM
Building a SOAP Message (in Compact Framework) [REPLYING FROM microsoft.public.dotnet.framework] news.microsoft.com Microsoft Dot NET Compact Framework 1 2nd Apr 2004 10:14 PM
Building a SOAP Message (in Compact Framework) [REPLYING FROM microsoft.public.dotnet.framework] news.microsoft.com Microsoft Dot NET Framework 0 16th Mar 2004 04:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:06 AM.