D
D
I have a c++ program NumberCruncher that I wroteto do some heavy number
crunching, it's a single threaded console app which takes command line
arguments (input file, paramters, output file) .
I wrote a c# program which runs the c++ program with all the correct
arguments since there are many many files to process. I did this using
System.Diagnostic.Process.
I was thinking creating a few threads that would each run NumberCruncher but
I don't know the impact on memory. Would each c++ process get 2 gig or would
all of them have to share 2 gig. (yes I know its 4 and the os takes 2 for
itself).
I think each is separate and each Sys.diag.process gets 2 gig.
crunching, it's a single threaded console app which takes command line
arguments (input file, paramters, output file) .
I wrote a c# program which runs the c++ program with all the correct
arguments since there are many many files to process. I did this using
System.Diagnostic.Process.
I was thinking creating a few threads that would each run NumberCruncher but
I don't know the impact on memory. Would each c++ process get 2 gig or would
all of them have to share 2 gig. (yes I know its 4 and the os takes 2 for
itself).
I think each is separate and each Sys.diag.process gets 2 gig.