S
Shawn B.
Greetings,
I have an application that must load various modules. Each module must be
able to execute concurrently, so I'm spawning a thread and each thread hosts
its own AppDomain. I for various reasons, I must create a custom
threadpool. I would like to share that threadpool with each of the
AppDomains so the threads can be used/recycled between the AppDomains and
the threadpool can continue to be controlled/scheduled by the default
AppDomain/Process.
Is there a way to share the threadpool between each AppDomain? I'm hoping
this can be a pure C# solution. Ultimately, it is a Windows Service that
will load other modules that act as a service and function independantly.
Thanks,
Shawn
I have an application that must load various modules. Each module must be
able to execute concurrently, so I'm spawning a thread and each thread hosts
its own AppDomain. I for various reasons, I must create a custom
threadpool. I would like to share that threadpool with each of the
AppDomains so the threads can be used/recycled between the AppDomains and
the threadpool can continue to be controlled/scheduled by the default
AppDomain/Process.
Is there a way to share the threadpool between each AppDomain? I'm hoping
this can be a pure C# solution. Ultimately, it is a Windows Service that
will load other modules that act as a service and function independantly.
Thanks,
Shawn