Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simultaneous processes

Status
Not open for further replies.

R3D3

Programmer
May 1, 2002
34
FR
How can I create 2 different processes from ASP that will run concurrently?

I have 3 functions A, B and C, each of them taking 5 seconds.
Function C uses the results of Functions A and B
Functions A and B are completely independant of each other and their processing is performed on different machines so I should be able to improve the performance by about 30%

How can I start function B before I receive the result from Function A?

Functions A and B both call separate DLL's to perform the processing so it should be possible to run them simultaneously.
My problem then is how to wait for the results of the two responses before continuing with the processing.

Thanks.

 
you do not control processes and/or threads from ASP. It's a scripting engine and therefore controls it’s own threads etc. If you need that level of control you need to place that type of code where it belongs, in the DLL code.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top