Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / February 2007

Tip: Looking for answers? Try searching our database.

AppDomains and shared Threadpool?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shawn B. - 12 Feb 2007 03:23 GMT
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
Brian Gideon - 12 Feb 2007 13:49 GMT
> Greetings,
>
[quoted text clipped - 12 lines]
> Thanks,
> Shawn

Shawn,

You might consider Microsoft's Concurrency and Coordination Runtime
(CCR) or William Stacey's Port Concurrency Runtime (PCR).

http://msdn.microsoft.com/msdnmag/issues/06/09/concurrentaffairs/default.aspx
http://www.codeplex.com/PCR

Brian
Shawn B. - 14 Feb 2007 02:46 GMT
> You might consider Microsoft's Concurrency and Coordination Runtime
> (CCR) or William Stacey's Port Concurrency Runtime (PCR).
>
> http://msdn.microsoft.com/msdnmag/issues/06/09/concurrentaffairs/default.aspx
> http://www.codeplex.com/PCR

CCR looks awesome but unfortunately our company will not license it for our
own internal use so it is immediately out of the question.  I'll take a
closer look at PCR.

Thanks,
Shawn
Brian Gideon - 14 Feb 2007 14:06 GMT
> > You might consider Microsoft's Concurrency and Coordination Runtime
> > (CCR) or William Stacey's Port Concurrency Runtime (PCR).
[quoted text clipped - 8 lines]
> Thanks,
> Shawn

Shawn,

And one disadvantage of the CCR is that you have to download the 45 MB
Robotics Studio.  Honestly, I haven't used either one yet so I can't
comment too much on their capabilities.

Brian

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.