Hi,
 
Can you explain me in detail. I am not able to get you properly. sample code would be better to understand.
 
Regards
Krishnan
----- Original Message -----
From: Rob
Sent: Saturday, October 22, 2005 3:34 Krishnan PM
Subject: RE: [Microsofts_C_Sharp] How to solve the deadlock problem while running many processes concurrently.

Hi,

Create an array of processes and then run them on separate threads. Then if one program crashes you can just terminate the thread and maybe re-open it?

 


From: [email protected] [mailto:[email protected]] On Behalf Of Krishnan
Sent: 22 October 2005 07:18
To: [EMAIL PROTECTED]; visual_studio_dotnet; Microsofts_C_Sharp; [EMAIL PROTECTED]; c-sharp-programming; CSharpNET; csharp; C_Sharp_World; dotnetsig; [EMAIL PROTECTED]; AspNetAnyQuestionIsOk
Subject: [Microsofts_C_Sharp] How to solve the deadlock problem while running many processes concurrently.

 

 

Hi,

 

How to solve the deadlock problem in MS SQLServer 2000. My application is in C#. 

In my application, I have to run the other different Exe's from my application. 

I am starting the processes through Process.Start() method. 

 

the code look like below.

System.Diagnostics.Process objProcess ;
::
objProcess = new System.Diagnostics.Process();
::
objProcess.StartInfo.Arguments = strParameter ;
objProcess.Start();

there may be situations where i may have to start the same exe at the same time. the same exe's will be running parallel.

the number of exe can also be large in number. in those cases, i am getting the Deadlock problem and all my exe that are running are stopped abruptly.

Is there any solution to solve this problem.

 

Regards,
Krishnan

 



SPONSORED LINKS
Basic programming language C programming language Computer programming languages
Programming languages C programming language Software programming language


YAHOO! GROUPS LINKS




Reply via email to