Click here to Skip to main content
15,887,376 members
Home / Discussions / C#
   

C#

 
GeneralRe: resource leak in thread termination? Pin
George_George28-Apr-08 2:14
George_George28-Apr-08 2:14 
GeneralRe: resource leak in thread termination? Pin
Guffa28-Apr-08 3:18
Guffa28-Apr-08 3:18 
GeneralRe: resource leak in thread termination? Pin
George_George28-Apr-08 3:56
George_George28-Apr-08 3:56 
GeneralRe: resource leak in thread termination? Pin
Guffa28-Apr-08 14:31
Guffa28-Apr-08 14:31 
GeneralRe: resource leak in thread termination? Pin
George_George29-Apr-08 2:41
George_George29-Apr-08 2:41 
GeneralRe: resource leak in thread termination? Pin
Guffa29-Apr-08 8:37
Guffa29-Apr-08 8:37 
GeneralRe: resource leak in thread termination? Pin
George_George29-Apr-08 21:50
George_George29-Apr-08 21:50 
Generalstop a thread Pin
George_George21-Apr-08 23:49
George_George21-Apr-08 23:49 
Hello everyone,


About using Abort or Interrrupt to stop a thread, I have two questions.

1. What are the pros and cons about Abort v.s. Interrupt?

2. If I program a background thread, compared with normal thread, will there be any special points to take care of (e.g. code in different) if the thread is stopped with Abort (or Interrupt)?


thanks in advance,
George
GeneralRe: stop a thread Pin
Mircea Puiu22-Apr-08 1:12
Mircea Puiu22-Apr-08 1:12 
GeneralRe: stop a thread Pin
George_George22-Apr-08 1:14
George_George22-Apr-08 1:14 
GeneralRe: stop a thread Pin
Mircea Puiu22-Apr-08 1:42
Mircea Puiu22-Apr-08 1:42 
GeneralRe: stop a thread Pin
George_George22-Apr-08 2:53
George_George22-Apr-08 2:53 
GeneralRe: stop a thread Pin
Mircea Puiu22-Apr-08 5:04
Mircea Puiu22-Apr-08 5:04 
GeneralRe: stop a thread Pin
George_George22-Apr-08 16:25
George_George22-Apr-08 16:25 
GeneralRe: stop a thread Pin
Mircea Puiu23-Apr-08 20:52
Mircea Puiu23-Apr-08 20:52 
GeneralRe: stop a thread Pin
George_George23-Apr-08 21:00
George_George23-Apr-08 21:00 
GeneralRe: stop a thread Pin
Mircea Puiu24-Apr-08 20:43
Mircea Puiu24-Apr-08 20:43 
GeneralRe: stop a thread Pin
George_George24-Apr-08 21:34
George_George24-Apr-08 21:34 
GeneralRe: stop a thread Pin
Ravi Bhavnani22-Apr-08 2:16
professionalRavi Bhavnani22-Apr-08 2:16 
GeneralRe: stop a thread Pin
George_George22-Apr-08 3:01
George_George22-Apr-08 3:01 
GeneralRe: stop a thread Pin
Ravi Bhavnani22-Apr-08 4:57
professionalRavi Bhavnani22-Apr-08 4:57 
GeneralRe: stop a thread Pin
George_George22-Apr-08 16:23
George_George22-Apr-08 16:23 
QuestionC# Drawing question Pin
oliversimon21-Apr-08 23:12
oliversimon21-Apr-08 23:12 
GeneralRe: C# Drawing question Pin
Reelix22-Apr-08 0:09
Reelix22-Apr-08 0:09 
GeneralRe: C# Drawing question Pin
oliversimon22-Apr-08 0:34
oliversimon22-Apr-08 0:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.