|
-
Jul 3rd, 2006, 02:42 PM
#1
Thread Starter
Addicted Member
Threading Questions
Hey. My program has a thread in it so that the main program doesn't get tied up when another forum is doing work. Whenever I try to abort the thread, I always get an error that the thread is trying to be aborted. Is this supposed to happen? Should I just be able to end it whenever I want, without getting an error? Any information on threads?
Thanks
John
-
Jul 3rd, 2006, 02:50 PM
#2
Re: Threading Questions
i can't tell you much more then if you abort a thread that yes it raises an error or exception. it's the way the framework was designed... as i'm still learning with threads and using them myself. i know depending on what you're doing you might look into using the monitor class, but again i'm not to great with the threading thing yet.
-
Jul 3rd, 2006, 04:52 PM
#3
Re: Threading Questions
Which version of .NET do you use?
What is the exception exactly?
It would be better of you post the portion of your code that throws the exception!
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|