Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
QuestionTimer that simply records the duration of a process Pin
thepolishguy29-Sep-05 4:22
thepolishguy29-Sep-05 4:22 
AnswerRe: Timer that simply records the duration of a process Pin
Ashok Dhamija29-Sep-05 4:53
Ashok Dhamija29-Sep-05 4:53 
AnswerRe: Timer that simply records the duration of a process Pin
Dave Kreskowiak29-Sep-05 8:10
mveDave Kreskowiak29-Sep-05 8:10 
QuestionTest for Interface? Pin
Russell Jones29-Sep-05 3:43
Russell Jones29-Sep-05 3:43 
AnswerRe: Test for Interface? Pin
Stefan Troschuetz29-Sep-05 4:54
Stefan Troschuetz29-Sep-05 4:54 
GeneralRe: Test for Interface? Pin
Anonymous29-Sep-05 6:16
Anonymous29-Sep-05 6:16 
QuestionDetect running threads Pin
WillemM29-Sep-05 3:20
WillemM29-Sep-05 3:20 
AnswerRe: Detect running threads Pin
Tom Larsen29-Sep-05 9:43
Tom Larsen29-Sep-05 9:43 
Solving deadlocks is not a simple situation especially when details are sparse. The best advice I can give is whenever you are dealing with a 3rd party component not under your control that you suspect is not thread safe, you will need to isolate it in your code. This could end up being complex (dependent on the component) or it could be as simple as anytime you access/manipulate the component put a lock around it. Once your application only touches the flakey component in a thread safe manner some of the flakey behavior that leads to deadlock should go away.

I am hesistent to mention this but if you want a list of threads for a given process, look in the System.Diagnostics.Process object. There is a member Threads which should give a ProcessThreadCollection which you can enumerate over.
GeneralRe: Detect running threads Pin
WillemM29-Sep-05 20:50
WillemM29-Sep-05 20:50 
QuestionTroubles with parsing data from on function to another Pin
Yannielsen29-Sep-05 2:01
Yannielsen29-Sep-05 2:01 
AnswerRe: Troubles with parsing data from on function to another Pin
Guffa29-Sep-05 6:43
Guffa29-Sep-05 6:43 
Questioncreate a Divx player Pin
Sasuko29-Sep-05 1:40
Sasuko29-Sep-05 1:40 
QuestionCOM and COM+ in C# Pin
mohd rafi28-Sep-05 23:34
mohd rafi28-Sep-05 23:34 
AnswerRe: COM and COM+ in C# Pin
Mohamad Al Husseiny29-Sep-05 8:51
Mohamad Al Husseiny29-Sep-05 8:51 
Questionconnect to Mobile Device through bluetooth Pin
Member 231569328-Sep-05 22:55
Member 231569328-Sep-05 22:55 
Questionstarted thread to wait till the other thread finishes Pin
ksanju100028-Sep-05 22:12
ksanju100028-Sep-05 22:12 
AnswerRe: started thread to wait till the other thread finishes Pin
S. Senthil Kumar28-Sep-05 22:40
S. Senthil Kumar28-Sep-05 22:40 
QuestionRegistering a Windows Service Pin
lata07mahi28-Sep-05 22:11
lata07mahi28-Sep-05 22:11 
AnswerRe: Registering a Windows Service Pin
Anonymous29-Sep-05 3:36
Anonymous29-Sep-05 3:36 
Questionhow to get voice data Pin
pakFari28-Sep-05 21:18
pakFari28-Sep-05 21:18 
Questioncheck for a child form's existence Pin
AesopTurtle28-Sep-05 21:07
AesopTurtle28-Sep-05 21:07 
AnswerRe: check for a child form's existence Pin
S. Senthil Kumar28-Sep-05 22:35
S. Senthil Kumar28-Sep-05 22:35 
GeneralRe: check for a child form's existence Pin
AesopTurtle28-Sep-05 23:58
AesopTurtle28-Sep-05 23:58 
QuestionFast Copy\Cast of an array Pin
Gilad Kapelushnik28-Sep-05 20:52
Gilad Kapelushnik28-Sep-05 20:52 
AnswerRe: Fast Copy\Cast of an array Pin
Guffa28-Sep-05 21:21
Guffa28-Sep-05 21:21 

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.