thread-abort Questions

7

Background I have a Service abstraction. Each service has it own WorkItem. WorkItem able to start with some data. The service is limiting the excution time of WorkItem. Let's say that a single work...
Dummy asked 25/11, 2018 at 7:37

5

Solved

when a System.Web.HttpResponse.End() is called a System.Thread.Abort is being fired, which i'm guessing is (or fires) an exception? I've got some logging and this is being listed in the log file......
Feverfew asked 13/12, 2008 at 14:15

8

Solved

I am showing a splash screen on a background thread while my program loads. Once it loads I am aborting the Thread as it's only purpose was to show a Now Loading splash form. My problem is that w...
Atalie asked 4/6, 2009 at 14:48

1

Solved

I'm a Java programmer who has been asked to make some changes to C# applications. I've been working with C# for a week now, and I've finally hit a point where looking at the documentation isn't hel...
Pursuit asked 10/11, 2014 at 16:48

1

Solved

I created a thread A and decided to abort it from inside the thread A. Is that possible? If so how can I do that? Thanks for the help!
Bootie asked 26/9, 2013 at 19:48

5

We usually throw exception when invalid input is passed to a method or when a object is about to enter invalid state. Let's consider the following example private void SomeMethod(string value) { ...
Hodosh asked 9/8, 2013 at 19:22

4

Solved

If I need to cancel some operation on a thread, when should I use Thread.Abort vs Thread.Interrupt. I read the documentation on it but not sure which scenario should I use a particular call between...
Carrel asked 10/5, 2011 at 13:42

2

Solved

I feel like this behavior should not be happening. Here's the scenario: Start a long-running sql transaction. The thread that ran the sql command gets aborted (not by our code!) When the thread r...
Spicy asked 2/6, 2011 at 19:20

4

In this code, when button1 is clicked twice, it creates 2 separate threads. On one click, it creates a new thread on the heap and field t1 points to the new thread on the heap. When I click button2...
Unification asked 15/11, 2010 at 10:26

1

Solved

I would really appreciate any suggestions, no matter how simple or complex, to help me get this issue isolated and resolved. I have a bit of code that generates small report files. For each file ...
Procurator asked 8/1, 2009 at 14:57
1

© 2022 - 2024 — McMap. All rights reserved.