Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

I need to synchronize access to a process for multiple HTTP requests

$
0
0
I have a command line process which gets invoked via the Process class which can only service one HTTP request at a time. I need to synchronize access to the process, perhaps using a named mutex, but I also want to service HTTP requests in the order they come using a timeout so that the request is serviced in a reasonable amount of time.  I have successfully implemented a timeout on the process with the appropriate process termination and my next step is to attempt to implement the mutex, but I don't know how to service the oldest pending HTTP request.

Tim


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>