I'm writing a small piece of code that's responsible to cause each application using it to start up in the same application domain in the initial process space.
What it's basically doing is to check if an application with same code runs already, and if it does, the application, that starts up, notifies the first one to take over the start by using a seperate AppDomain in its process space. After the start notification has been handed over, the second application stops and the first one starts it in its own process space. (An AppDomain is a lightweight "process", one process can host multiple AppDomains.)
Anyone needs such thing? If so, please say so, so that I'll write a clean version. I've got the basic plumbing done atm.
A scenario might be where you've an application suite, but want it to be as lightweight as possible, e.g. by running everything in the same process. Process priority adjustments are planned too.
Question
Glowstick
I'm writing a small piece of code that's responsible to cause each application using it to start up in the same application domain in the initial process space.
What it's basically doing is to check if an application with same code runs already, and if it does, the application, that starts up, notifies the first one to take over the start by using a seperate AppDomain in its process space. After the start notification has been handed over, the second application stops and the first one starts it in its own process space. (An AppDomain is a lightweight "process", one process can host multiple AppDomains.)
Anyone needs such thing? If so, please say so, so that I'll write a clean version. I've got the basic plumbing done atm.
A scenario might be where you've an application suite, but want it to be as lightweight as possible, e.g. by running everything in the same process. Process priority adjustments are planned too.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts