-
Aborting Thread. How to exit blocking call.
Suppose I have spawned a thread that makes a blocking call. What happens if that blocking call doesn't want to return and I call a Thread.Abort() on it? I have one that doesn't handle the exception until the call decides it is time to exit.
Anyone know if this is supposed to work like this?
-
In the spawned thread you should apply a TryCatch which handles the ThreadAbortException. If this doesn't work I would concentrate on solving the blocking thread programmaticly...
oes
Similar Threads
-
Replies: 3
Last Post: 07-31-2005, 05:17 PM
-
By pcjose2002 in forum C++
Replies: 5
Last Post: 04-27-2005, 06:07 PM
-
By Chris.G in forum VB Classic
Replies: 4
Last Post: 11-13-2000, 03:16 PM
-
By Mike in forum VB Classic
Replies: 2
Last Post: 04-24-2000, 03:30 PM
-
By Mike in forum VB Classic
Replies: 0
Last Post: 04-24-2000, 03:05 PM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks